Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page provides


some hints for using Groovy to assist generate test data in particular all combinations and all pair combinations


Frequently you may have to test combinations, e.g. a method has several enumerations for its arguments or a web page has several dropdowns with multiple values, or you have assorted hardware combinations (as in the example below). You could manually work out the combinations, or you can let Groovy help you. We are going to look at two ways groovy can help you: