Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The main reason is that unless you are unit testing a file reader class, then you are exceeding the unit that you should be testing. You are testing additional units that have to do with file I/O.

If Ashcroft fails your unit test because some class was reading or writing to a file, you will be in one of the following cases:

  1. Some of your own code in your SUT was trying to do file I/O
  2. Your test was trying to do file I/O
  3. Some code that your SUT or test is using was trying to do file I/O
  • No labels