What are the best practices for managing Test results

functional-testingtesting

We are using GitHub for managing source code and waffle board for managing workflow/issues.

Right now when we test the system using custom written test cases, it generates a CSV file. We want to be able to keep a record of these test results, so we can go back and run the same test again with the same Inputs and verify the results, or just share the results with stakeholders.

Whats the best strategy of managing these test results?

Should we publish the Results.csv's in the same Github repo as the project? (that would become cumbersome and we want to avoid that)

We tried publishing results in Waffleboard, but Github issues don't support File Uploads for us to attach the results (only Image files can be uploaded)

The only option we see is publishing the results on an internal website. Is that the best way of going about this?

Edit Clarification:

The system is replacing a legacy system. The test cases change daily.

The test script grabs the data from legacy system and from the new system, and does a comparison to see if they match.

Best Answer

The test results should be managed in the same git repository. You don't need to save results of every run, you only need to save the results for a single run. All other runs should compare itself to this "golden" version of the data. If a test generates different results, it will have failed.

Put another way, this .csv file isn't a test output, it's a test input. Generate it once, then your tests should use it to validate whether the current system is performing as it should. Since it's an input, it needs to be version-controlled just like any other test assets.

When you run your tests, you can create a daily report that shows only the failures. There would be no need to archive this unless you need to do analysis as to the frequency certain tests fail or pass.

Related Topic