Demonstrating Test-Driven Development and Evolutionary Design in the long run
The MonitoredExecutor class had a bug which was probably the reason why we failed to put it into use.
MonitoredExecutor
Download as MP4
Episode Archive
Just an observation: MonitoredExecutionTest always seems to use events.await and events.assertContains together. The number of events to await also seems to match the number of arguments match in contains. Could be extracted into a helper method.
Well noticed. I'll add that to my list of things to change the next time I work on the actor code.
Just an observation: MonitoredExecutionTest always seems to use events.await and events.assertContains together. The number of events to await also seems to match the number of arguments match in contains. Could be extracted into a helper method.
ReplyDeleteWell noticed. I'll add that to my list of things to change the next time I work on the actor code.
ReplyDelete