junit代写-COMP220/285
时间:2022-03-22
COMP220/285 Lab sessions 6-7

Contents
Capturing test results ...................................................................................................................... 2



Please, follow slides lecture_ant_testing.pptx
Ant, Testing and Junit
In particular, create and run JUnit test case setUpTearDownTest.java
as in Slides 6-8.
Pay attention to annotations @Test, @Before, @After, methods setUp(),
tearDown(), testXXX() and assertions methods used.
Read also preceding and following slides to understand all the concepts and do all the
required actions.

Capturing test results
Please, follow slides Ant, Testing and JUnit - Capturing test results.
Try to follow all exercises in these slides and make sure you understanding each step.
You should be able to finally automatically create HTML report of your tests. Note, that
all the preliminary steps are very important to understanding how we have approached
to the final version (the target test on Slides 20, 21). Now, instead of not so pleasant
extracting from a console the results of testing we will have testing reports in a
very convenient HTML form!


essay、essay代写