Is it possible to change values in a file based on output of unit tests automatically?
Hello, say I perform a unit test. What happen in that unit test is that some values are read from a file, say a csv file then compared with calculated value. IF calculated value doesn't match the value read from the file, which is expected value, I need to change the expected value to the calculated value.
I wanted to know if it's possible to automate such a process. Like the unit test generate a report with name of file and the errors it encountered, then I have a program opening that file and modifying the values dynamically. It seem possible, just the unit test generating a report I don't really know if we can do that. Anyone has an idea please.
I wanted to know if it's possible to automate such a process. Like the unit test generate a report with name of file and the errors it encountered, then I have a program opening that file and modifying the values dynamically. It seem possible, just the unit test generating a report I don't really know if we can do that. Anyone has an idea please.
