Separate Fixture Files
Definition:
It’s now a bit hard to tell what the data look like in the test code. If the data isn’t too large, especially when I need only a small fraction of the data. I would define an in-file variable to demonstrate what we expect, and then use it in the test.
Code Example:
No code examples yet…
References:
Quality attributes
- Code Example
- Cause and Effect
- Frequency
- Refactoring