次の方法で共有


Magic Numbers: Integers

After many moons of sitting in a queue somewhere, the MSDN Tester Center just posted my intro article on special numbers you probably want to think about when running tests. The paper addresses several interesting domains of integers (all the way up to 64-bits) and gives you samples of important values to use:

 

In testing software, we often miss an entire class of bugs just because we don't happen to think about one category of inputs and how they might adversely affect the system. To help combat this in with my own tests, I've pulled together a listing of numbers which are good to use in testing for various independent reasons.

 

https://msdn.microsoft.com/en-us/library/ee621251.aspx