Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Although computers tend to be rather deterministic in nature, you will sometimes have to deal with concepts that are de-facto non-deterministic. These include, but are not limited to:
When testing code, non-determinism is undesirable, since one of the main principles of automated testing is that test results are reproducable; if you run a unit test suite a number of times without changing the code, the outcomes should all be identical. If your test target contains non-deterministic logic, you may find this principle difficult to uphold. In a small series of postings, I'll provide a few pointers on how to deal with this challenge.
Each post will cover a particular type of non-determinism, and provide examples on how to handle it in unit tests:
Anonymous
May 11, 2007
This is the first in a small series of posts about testing against non-determinism. In this installation,
Anonymous
May 12, 2007
This is the second in a small series of posts about testing against non-determinism. In this installation,
Anonymous
May 12, 2007
This is the third in a small series of posts about testing against non-determinism. In this installation,
Anonymous
May 12, 2007
This is the third in a small series of posts about testing against non-determinism. In this installation,
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in