Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elide-Testing Refactor BookAuthorIT & AuditIT #909

Merged
merged 12 commits into from
Aug 14, 2019

Conversation

hellohanchen
Copy link
Contributor

@hellohanchen hellohanchen changed the title Book author it Elide-Testing BookAuthor integration test refactor Aug 12, 2019
@hellohanchen hellohanchen changed the title Elide-Testing BookAuthor integration test refactor Elide-Testing Refactor BookAuthorIT & AuditIT Aug 12, 2019

Assert.assertFalse(logger.logMessages.contains("Inverse entities: [Value: update id 1 through id 2 relationship: 2]"));
assertFalse(logger.logMessages.contains("Inverse entities: [Value: updated value relationship: 2]"));
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The log message here is changed because this test doesn't depend on testAuditWithDuplicateLineageEntry() anymore.

@aklish aklish merged commit dc02441 into yahoo:RefactorResourceIT Aug 14, 2019
aklish added a commit that referenced this pull request Sep 3, 2019
* Plumbed/hacked out basic concepts.

Elide build working with partial tests for ResourceIT

Refactored one ResourceIT test to use the new test DSL

Added capabilities to compare documents to test DSL.

Added relationship support to DSL

Added failure tests

First 20 tests rewritten

Refactored tests for include testing

Cleanup to use static DSL definitions

Up to 31 tests refactored

Added in memory store harness for IT tests.  By default, this harness runs when no harness is specified.

Build now passes

Refactored 3 more tests

Half way

52 tests refactored

65 tests now passing.  Migrated InheritanceIT and LifecycleTestIT to new framework

Refactored entity dictionary to include support for setting and getting values.  The in memory store now uses this functionality to correctly set the ID for generated IDs

67 tests now pass

68 passing

10 tests left

Only 3 to go

All tests now pass

* Removing unused JSON resource files

* Minor pre-inspection cleanup

* Migrated DataStoreIT tests to new framework

* Migrated AnyPolymorphismIT to new framework

* Migrated EmbeddedIT to new framework

* Migrated AssignedID and FieldLevelIT tests to new framework

* Migrated UserTypeIT to new framework

* Migrated UserTypeIT, MapEnumIT, and GenerateIT to use new framework

* Migrated ShareableIT to new framework

* Fixed checkstyles

* Fixed legit codacy issues

* To-one Relation Test (#899)

* To-one Relation Test

* Add a test

* Address comments from @aklish

* Added more JSON-API DSL test

* Elide-Testing Refactor access integration test (#911)

* Elide-Testing Refactor access integration test

* Add setup

* Elide-Testing Refactor BookAuthorIT & AuditIT (#909)

* Book Author IT refactor

* Elide-Testing Refactor audit integration test

* Update auditIT

* remove json files

* make auditIT tests independent

* FilterIT integration tests code complete (#917)

* Fixed build issues

* Refactor sorting it (#918)

* Added SortingIt integration test

* Deleted groovy file and put json request in seperate file

* Remove testng classes

* Rebase and fix checkstyle violation

* Issue 912 Refactor Error IT Tests (#919)

* Add patch extension to DSL (#921)

* Refactor Paginate IT (#931)

- Upgrade to rest assured 4.x
- Fix style issues
- Refactor Paginate IT

* Implement GraphQL DSL (#903)

* GraphQL - Implement query DSL & Remove Groovy tests

* Consolidate GraphQL and Relay DSL & serialize object data using lombok and Jackson

* Migrate from testng to junit5

* Replace ValueWithVariable interface with plain Java objects

* Consolidate to have a single 'Field' class

* Consolidate entity and field

* Consolidate field and responseField

* Remove OperationDefinition interface

* Implement Query and Mutation

* style

* style

* Remove extra query/response parameter

* javadoc & style

* style

* Address comments

* Address comments

* Address comments

* Migrated BridgeableStoreIT to new framework.  Fixed build issues from last commit.

* Started making changes to run IT tests using Junit 5

* Hibernate5 Tests Pass

* JPA & Hibernate tests now passing.  Removed GraphQLIT.  Removed old data store suppliers

* Build works.  All IT tests run

* Removed references to dataStoreSupplier

* Disable check only on test framework

* disable .NET scan

* Inherit versions
@hellohanchen hellohanchen deleted the bookAuthorIT branch September 3, 2019 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants