1.4. Reporting - deftpack/testautomation GitHub Wiki
Utilizing the framework, for each test and test step a human readable HTML report is generated. For each test a summary page is created with it's name and an index page which is summarizing each test run. Screenshots are also saved when a test is successfully finished or failed.
There are two things that can configured in the app.config, both optionally.
- Title of the report, the default value is the project's full qualified name
- Location where the report is saved, the default is a 'report' folder under the the output folder
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="ReporterConfiguration"
type="DeftPack.TestAutomation.Reporting.ReporterConfiguration,
DeftPack.TestAutomation.Reporting"/>
</configSections>
<ReporterConfiguration title="Example Tests"
location="C:\AutomationTestReports\">
</ReporterConfiguration>
</configuration>
[Title]_[Date and time in ddMMyyyy_HHmmss format]
├━ ScreenShots
│ ├━ [Test1Name]_[Test status, "passed" or "failed"].png
│ └━ [Test2Name]_[Test status, "passed" or "failed"].png
├━ [Test1Name].html
├━ [Test2Name].html
└━ index.html