ReassureTest.Net icon indicating copy to clipboard operation
ReassureTest.Net copied to clipboard

Reading expected values from file system

Open serhatzor opened this issue 4 years ago • 2 comments
trafficstars

"is" method may read expected values through a file.

serhatzor avatar Aug 02 '21 17:08 serhatzor

Hi @serhatzor

good idea, can you sketch how you want to do it? you can already do someObject.Is(File.ReadAllText(...)); which i guess you don't like :)

kbilsted avatar Aug 02 '21 19:08 kbilsted

well you can add it as an example to the readme.md you can also do something where youread the name of the test and find a filename based on that - that way tests need not specify a filename..

kbilsted avatar Aug 03 '21 11:08 kbilsted