You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -3,16 +3,15 @@ Simple Fixtures
3
3
4
4
Simple test data not only for Grails project.
5
5
6
-
This is lightweight version of [Grails Fixtures Plugin](grails.org/plugin/fixtures) but this one can easily run in unit tests not only the integration tests.
6
+
This is lightweight version of [Grails Fixtures Plugin](http://grails.org/plugin/fixtures) but this one can easily run in unit tests not only the integration tests.
7
7
8
8
Create Groovy scripts in some folder in your project such as `src/test/fixtures`. Define your fixtures in `fixture` as follows:
9
9
10
10
```
11
11
// src/test/fixtures/fixtureTwo.groovy
12
12
import com.exaple.MyPogo
13
13
14
-
load "path/to/fixtureOne" // loads other fixture such as fixtureOne
15
-
load "path/to/otherFixtures/*" // loads all fixtures in directory otherOnes (non-recursively)
14
+
load "path/to/fixtureOne" // loads other fixture such as fixtureOne
0 commit comments