Ran
|
Files
79
|
Run time
5s
|
Badge
Embed ▾
README BADGES
|
travis-ci
TestFX: Remove TestFX-JUnit dependency We include the TestFX-JUnit dependency in our build.gradle since [1]. However, we also implement our own StageRule and SystemTestSetupHelper to setup the UI environment for unit tests and system tests respectively. These classes replicate TestFX-JUnit's ApplicationTest behavior [2], so our tests do not need to extend from ApplicationTest. According to TestFX's documentation [3], TestFX-JUnit provides the ApplicationTest class that we can inherit from. Since we already implement the necessary setup routine, we do not need to inherit from ApplicationTest. TestFX-JUnit thus adds no value to our project now. Let's remove the TestFX-JUnit dependency. [1]: https://github.com/se-edu/addressbook-level4/commit/7916322fa [2]: https://github.com/TestFX/TestFX/blob/master/subprojects/testfx-junit/src/main/java/org/testfx/framework/junit/ApplicationTest.java [3]: https://github.com/TestFX/TestFX#junit-5-2
1395 of 1488 relevant lines covered (93.75%)
0.94 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|