TestNG
Dependency is common need in unit testing, because the test cases may share some state, data and conditions, in order to write repeatable cases and run
TestNG
The group test is a new innovative feature in TestNG, it doesn’t exist in Junit framework, it permits you dispatch methods into proper portions and preform sophisticated groupings of test methods.
TestNG
he TestNG Eclipse plug-in allows that we run TestNG tests from inside Eclipse in a convenient way. once we draft test case then we would’t need waiting
Ant
Ant has task Tstamp which easily get the current date or system time with TODAY property, the output date can be formatted in any particular custom date/time
Ant
The propose of this tutorial is to retrieve the current logged username, computer name and operation system name in Ant, we echo these values in below example.
Ant
Ant has a build-in task Property that can access OS-specific environment variables, Property's parameter environment is the prefix to use when retrieving
Junit
Junit 3 vs Junit 4 Overview Junit 4 is the next series of Junit 3 and introduced lot of features. It has been compatible with most tools for a while.
Ant
If we execute the Junit test cases in Ant (most of the time we do) and some cases fail, we may expect to debug Java code in Ant to analyze the failures.
Ant
Ant has built-in property ${ant.java.version}, you can directly use it to get Java or JVM version, the following example prints out Java version. Build.xml <
Ant
When JAR files are published, it has by default no signature included so nobody would likely trust this source, it is best to digitally sign the JAR files