abhaga22 / CS2340

1 stars 0 forks source link

M10: Code Testing (JUnits) #27

Open thekellychen opened 7 years ago

thekellychen commented 7 years ago

Individual Each person should pick a non-trivial method (one that has loops and/or conditional statements) and test that method to achieve branch coverage.

Tests will be implemented in JUnit.

As I said in class, it is easiest to test back-end classes that do not depend on FX. If you want to drive the GUI and test a controller for example, then you will need another library like TestFX which will allow you to launch the app and manipulate inputs.