-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathplugin.xml
More file actions
31 lines (24 loc) · 1.23 KB
/
Copy pathplugin.xml
File metadata and controls
31 lines (24 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<plugin name='random-test-order' version='0.3' grailsVersion='1.3.7 > *'>
<author>Jarred Olson (Twitter: @JarredOlson)</author>
<title>Random Test Order - Allows you to run your tests in a random order</title>
<description>
Allows you to run your unit, integration, and functional tests in a random order.
This is helpful when trying to identify tests that rely on data or setup from another test.
{code}grails random-test-order [test type] [seed]{code}
[test type]
-unit
-integration
-functional
[seed]
-seed
examples:
{code}grails random-test-order -unit{code} //will run all unit tests in a random order
{code}grails random-test-order -unit -seed 1399148896295{code} //will run all unit test in a consistent random order based on given seed value
When you execute the script you will see output like the following:
About to execute the following test app script...
grails test-app -unit UnitBTests UnitCTests UnitATests
</description>
<documentation>http://grails.org/plugin/random-test-order</documentation>
<type>RandomTestOrderGrailsPlugin</type>
<resources />
</plugin>