softwareas.com
The Generator Pattern for Unit Tests: Math.random() Takes a Beating
[Chris Stevenson]( discusses some pitfalls in testing with random numbers. **Here’s my advice on unit testing with random numbers: best avoid it and certainly don’t tie yourself to it.*…