Actions
Task #4253
openUnit tests should be more deterministic
Status:
In Progress
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/21/2017
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Description
Many NLSR unit tests are not deterministic and rely on a relative timing between different events in the course of execution. This is not tenable long-term, and breaks quite frequently.
- NLSR unit tests should be characterize true invariants. That is, given one input, the test asserts that some property is still true.
- NLSR unit tests should not break when refactoring the internals of NLSR. This means that API changes should be rare. ** If an API change occurs, the test should be replaced or modified such that the test still asserts the same invariant.
- NLSR unit tests should fail or pass deterministically, such that the test suite must only be run once to assure compliance.
No data to display
Actions