Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

  1. Groovy test assertions - additional test assertions
  2. Groovy power asserts - makes it easy to debug failures
  3. Groovy test can fit into existing compile and run scenarios like Maven and Eclipse - this is more difficult for GINT tests
  4. Run test from a command line
  5. GINT makes it easy to run single tests, specific list of tests, groups of tests, or last failed
  6. GINT test run directly without any compile step improving test development turn-around time
  7. GINT testcases can be easily generated by code
    • Allows for finer grain testcases - one per assert
  8. GINT testcases are less verbose
  9. GINT has no dependencies on JUnit

Usage

GINT

Example runs

{csv}
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.

...