Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rwojsznis/rspec-sanity-example

Example usage of rspec-sanity tests wrapper
https://github.com/rwojsznis/rspec-sanity-example

flaky-tests rspec rspec-testing ruby

Last synced: 4 days ago
JSON representation

Example usage of rspec-sanity tests wrapper

Awesome Lists containing this project

README

        

### Example repo for [rspec-sanity](https://github.com/rwojsznis/rspec-sanity)

[![CircleCI](https://dl.circleci.com/status-badge/img/gh/rwojsznis/rspec-sanity-example/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/rwojsznis/rspec-sanity-example/tree/main)

1. CircleCI as the test runner
2. [Github issues](https://github.com/rwojsznis/rspec-sanity-example/issues) within this repository used as flaky tests catalog

See `.circleci/config.yml` for a fully working example - it also uses `store_test_results` for collecting results on 1st pass so you will have nice output in the CircleCI's UI if all your flaky tests are passing on 2nd attempt:

Screenshot 2023-03-25 at 14 43 10

In that scenario all flaky tests were reported to corresponding Github issues, flaky tests are visible in the UI, and the build exited with a 0 status.