Write tests
nohwnd opened this issue · 3 comments
nohwnd commented
- check that no duration is longer than the calculated total
- check that every line has duration >= self duration
- check that calculated total close, but not over the wall clock time
- check that there is only 1 item for Trace-ScriptInternal on start and end (this seemed to behave inconsistenly)
nohwnd commented
We have basic tests, they saved me from pushing broken version few times. Imho this is done, as I/we will add more tests along the way.