-
Notifications
You must be signed in to change notification settings - Fork 2
Statistics
mpinardi edited this page Aug 19, 2020
·
2 revisions
Cucumber Performance supports a number of statistics out of the box. While some are included in every execution others are completely optional.
Some statistics are also effected by disabling the strict option.
By default all statistics are limited to passing tests only.
You can disable strict by passing in '--no-strict-stats' as a run time option.
All statistics come from the execution duration of each group, scenario and step.
-
Group: Is the duration of a group.
- Each group is its own cucumber execution. So it contains time inside cucumber itself.
- Also a group can be a single or multiple features.
- Groups should not be considered a perfect representation of a system.
-
Scenario: Is the duration of a single scenario.
- A scenario is a single cucumber scenario.
- Each scenario can contain multiple steps.
-
Step: Is the duration of a single step.
- A step is a single cucumber step.
- This is the most granular population.
-
Average (Median): The average total execution time for the population.
- Population: All
-
Minimum: The minimum or lower duration for a population.
- Population: All
-
Maximum: The maximum or highest duration for a population.
- Population: All
-
Count: The total size of a population.
- Population: All
-
Failed: The total number of failed tests in the population.
- Population: All
- Disabled Strict Required: True
-
Passed: The total number of passed tests in the population.
- Population: All
- Disabled Strict Required: True
-
Errored: The total number of tests with errors in the population.
- Population: All
- Disabled Strict Required: True
-
Concurrent: The average concurrency of the population.
- Population: Group
More statistics can be added to any execution by including there name in the options of the statistics formatter.
-
Percentile: The percentile for the desired percent.
- Population: All
- Plugin Name: prcntl, prctl
- Options: (double) percent
-
Standard Deviation: The standard deviation for a population.
- Population: All
- Plugin Name: stddev, stdev
You can also create and add your own statistic creator plugins!