...
- Groovy test assertions - additional test assertions
- Groovy power asserts - makes it easy to debug failures
- Groovy test can fit into existing compile and run scenarios like Maven and Eclipse - this is more difficult for GINT tests
- Run test from a command line
- GINT makes it easy to run single tests, specific list of tests, groups of tests, or last failed
- GINT test run directly without any compile step improving test development turn-around time
- GINT testcases can be easily generated by code
- Allows for finer grain testcases - one per assert
- GINT testcases are less verbose
- GINT has no dependencies on JUnit
Usage
GINT
Example runs
Wiki Markup |
---|
Csv |
Command, Description
gant -f helperTest2.gant, Run all tests or last failed
gant -f helperTest2.gant separatedString, Run separatedString group of tests
gant -f helperTest2.gant listToSeparatedString getProcessName, Run both tests indicated
gant -f helperTest2.gant -Dmatch=quote, Run all quotedString tests
{csv} |
Code
This is a unit test for GINT helper functions included with the GINT source.
...