Articles tagged "Testing"
-
Testing that actions are scheduled correctly over time is a pain. I'll show a way to test events scheduled over time, threads and other execution contexts with a "Debug Context Coordinator" that functions as a basic task scheduler but operates over a simulated version of time so that testing of invocation times and task interaction can be precise and free from changes due to host activity.
-
Partial functions are risky but if you're going to write one anyway, you should do something completely crazy to test that it is risky in all the right places.