Version 1.6.x
Artifacts Retention Policies
You can configure the retention policies for the artifacts produced by each execution. Reports older than the number provided will be automatically deleted. You can have different retention policies for:
- Extent reports
- Summary reports (both txt and html)
- TestBook reports (both txt and html)
This is an example snippet:
extent:
retention:
total: 10
successful: 1
Full docs here
New default testbook template look and feel
Inspired by the Modernist theme
⚠️ TestBook Reporters
The default testBook reporters (log and html) have been removed from the internal configuration.default.yaml.
Since reporters are a list, and lists are merged by appending elements, having those in the default configuration meant they couldn't be deactivated. If you want to have those reporters active, you now need to declare them explicitly in your configuration*.yaml
like this:
testBook:
enabled: true
reporters:
- log: { } # the report will be logged
- html:
output: ${testBookReportOutput}/testbook.html # a html report will be produced at this path
Execution Summary
You can have Spectrum generate an execution summary by providing one or more summary reporters: log, txt, and html. Full docs here.