Specifying global document overrides for tests? #460
-
I have a situation where I have a project that generates a bundle and in that bundle I want to include a skeleton data document (using
Ideally, if I could specify a global document override to the (coming from a java background, this is similar to how Would a feature like this be something that would be considered? Any other alternatives? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Maybe I'm missing something but what is the need to include tests in your final bundle? I would imagine you test all your rules and then build the bundle w/o tests in it. |
Beta Was this translation helpful? Give feedback.
-
Not sure you'd need that. If you run the tests without the
you could just have a {
"applications": {
"...": "..."
}
}
|
Beta Was this translation helpful? Give feedback.
Not sure you'd need that. If you run the tests without the
--bundle
flag, like:you could just have a
data.json
file in thefixtures
dir where the path was provided in the file rather than by directory structure, e.g.