-
Notifications
You must be signed in to change notification settings - Fork 353
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
Gh-3056: Add testing to GafferPopElementGenerator #3070
Gh-3056: Add testing to GafferPopElementGenerator #3070
Conversation
.../tinkerpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferEdgeGeneratorTest.java
Outdated
Show resolved
Hide resolved
...inkerpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferEntityGeneratorTest.java
Outdated
Show resolved
Hide resolved
...nkerpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferPopEdgeGeneratorTest.java
Outdated
Show resolved
Hide resolved
...nkerpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferPopEdgeGeneratorTest.java
Outdated
Show resolved
Hide resolved
...erpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferPopVertexGeneratorTest.java
Outdated
Show resolved
Hide resolved
...erpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferPopVertexGeneratorTest.java
Outdated
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3070 +/- ##
=============================================
+ Coverage 65.25% 65.30% +0.04%
- Complexity 2637 2643 +6
=============================================
Files 907 907
Lines 28964 28964
Branches 3249 3249
=============================================
+ Hits 18901 18914 +13
+ Misses 8602 8591 -11
+ Partials 1461 1459 -2 ☔ View full report in Codecov by Sentry. |
...rpop/src/test/java/uk/gov/gchq/gaffer/tinkerpop/generator/GafferPopElementGeneratorTest.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added suggestions to remove use of Guava and use Assertj native instead. This time I've actually checked that tests pass with my suggestions.
Added testing to GafferPopElementGenerator to increase test coverage. Also updated testing from JUnit to AssertJ for the other generator classes to aid with improving assertion readability (#3014). Improved test coverage of GafferPopVertexGenerator and GafferPopEdgeGenerator classes.
Related issue