Current plan: Each unit test plan coverts a particular part of that bit.
[TestInit] is used to startup and common to each testmethod
[TestCleanup] Finishes.
Will need to write tests with known based scenarios to cover issues such as.
Are we testing for matching files?
hardcode a scenario with FileSystemCache class such as a set of files and folders for the test.
Each scenario's starting root is C:\Scratchpad\Classname.
We test bits and pieces for coverage.
The standard example would be the OdinSearch_SoleMatch_Tests test.
It creates two files with the name empty file "test1.dat" in each of them and tests if Solematch being return matches a single result but solematch being false matches both results.
Original plan each class covered bits.
Current plan: Each unit test plan coverts a particular part of that bit.
[TestInit] is used to startup and common to each testmethod
[TestCleanup] Finishes.
Will need to write tests with known based scenarios to cover issues such as.
Are we testing for matching files? hardcode a scenario with FileSystemCache class such as a set of files and folders for the test. Each scenario's starting root is C:\Scratchpad\Classname.
We test bits and pieces for coverage.
The standard example would be the OdinSearch_SoleMatch_Tests test.
It creates two files with the name empty file "test1.dat" in each of them and tests if Solematch being return matches a single result but solematch being false matches both results.