4 года назад
История
README.md
RSpecFlaky
TODO: Write a gem description
Installation
Add this line to test group of your application’s Gemfile:
gem 'rspec-flaky'
Install the gem:
$ bundle
And then add this line to your spec/spec_helper.rb:
require 'rspec/flaky'
Select the model whose attributes will be dumped:
it 'is flaky test', tables: [User, Post] do
expect([true, false]).to be true
end
Usage
Run the command to iteratively run flaky example:
rspec-flaky path/to/flaky_spec.rb:12 -i 10
If at least one example is failed you can compare pointed model’s attributes dumped to tmp/flaky_test folder.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Конвейеры
0 успешных
0 с ошибкой