Installation and use of Junit, Hamcrest, Eclemma
I. Installation ofJunit, hamcrest and Eclemma
To install JUnit and hamcrest by importing a jar package, proceed as follows:
Select the built project, right click, choose Build path->configure build Path, go to interface:
Click Add exterbal JARs and select the corresponding jar packages for JUnit and hamcrest
Click OK to import the successful online installation Eclemma
The steps are as follows:
Select Help->eclipse Marketplace
After loading, type Eclemma in the Find bar and enter.
As I have already installed so the appearance is uninstall, if not installed should appear install, click after the next,
After the installation is complete, restart Eclipse to discover one more, the installation is successful.
Second, the test results
The code has been uploaded to GitHub with the address Https://github.com/cxlcxl008/testHW
All four sets of samples pass, and the code is overwritten.
Software Test Job (iii)