summaryrefslogtreecommitdiff
path: root/lib/rspec_flaky
Commit message (Collapse)AuthorAgeFilesLines
* Improve the architecture of RspecFlaky classes by introducing a new ↵Rémy Coutable2018-04-105-56/+74
| | | | | | RspecFlaky::Report class Signed-off-by: Rémy Coutable <remy@rymai.me>
* Introduce RspecFlaky::ExamplesPruner to prune old flaky examplesRémy Coutable2018-04-102-0/+27
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Add new RSpecFlaky::FlakyExamplesCollection and RSpecFlaky::Config classesRémy Coutable2017-10-063-35/+69
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ensure RSpecFlaky doesn't automatically update flaky examplesRémy Coutable2017-10-042-38/+48
| | | | | | | | | | | | | | | | | | | | | Previously, instantiating a RspecFlaky::FlakyExample object would automatically update its first_flaky_at, last_flaky_at and last_flaky_job. That was wrong because we would overwrite every time the suite report with this false data. We now: - Get the suite report and only read from it - Write only the currently detected flaky examples in the report, so that the final report is only updated with flaky examples that were actually detected in each job. Before, job1 could overwrite the legit report from job2! - Write the newly detected flaky examples by rejecting the already tracked flaky specs instead of using another hash. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Use a new RspecFlakyListener to detect flaky specsRémy Coutable2017-08-113-0/+160
Signed-off-by: Rémy Coutable <remy@rymai.me>