程序代写 COMP220/285 Lab sessions 6-7 – cscodehelp代写
COMP220/285 Lab sessions 6-7
Capturing test results……………………………………………………………………………………………………….2
Please, follow slides lecture_ant_testing.pptx
Copyright By cscodehelp代写 加微信 cscodehelp
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!
程序代写 CS代考 加微信: cscodehelp QQ: 2235208643 Email: kyit630461@163.com