Next badge 0/1
~22k people reached
- 0 posts edited
- 0 helpful flags
- 2 votes cast
What is the best practice for testing against modules which collect statistic
For checking whether the system call is used correctly, you could mock it. I'm not sure about checking whether it "returns all relevant data". You should know what data it returns. You can then check (again, via Mocks) whether that returned data is handled correctly.
Data generation for QA tests
I tried to clarify my answer a bit in this respect.