rspec-dev
rspec-dev copied to clipboard
Add reproduction script that use gems from repos/
Hello
I always look at the best way to start contributing to RSpec. I think rspec-dev is full of powerfull rake commands but lack of documentation to properly start hacking RSpec.
The idea here is to have a basic test suite that will use gems from repos/.
If you love the idea I think we can add some doc to contributing guide with for example.
git clone https://github.com/rspec/rspec-devcd rspec-dev && bundle installrake git:clonecd repro-scripts && bundle installbundle exec rspec
Or add a rake task that handle this.
I'd rather we generate an issue template that has a reproduction script, it should be the inline style rather than a cloneable repo etc.
Mmmmh that's a very good idea. I will make this.
Is it still something that should be done? @pirj would you use this?
As from my rather limited experience, it's not too hard to address issues in RSpec, but I've only scratched the surface and haven't faced anything that would need several repositories to reproduce the issue yet.
~It would be helpful though to extend CI build scripts to include all repos' builds since there might be failures caused by other repos, e.g. I almost accidentally rspec-its by a change in rspec-expectations, and I wouldn't notice it if I wouldn't run a test suite using its with my latest changes to rspec-expectations. Not sure if it's a frequent problem though.~
PS Nevermind, we already do this, just not to secondary league, i.e. rspec-collection-matchers and rspec-its.
What I'm envisioning is an inline bundle specifying master versions of our gems by default, and an example spec, there is one floating around in a gist somewhere I think, but the idea is to make it easy for someone to create a standalone one file reproduction of an issue.