Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can README clarify the necessary elements for specs to run in order? #90

Open
amcaplan opened this issue Jul 20, 2016 · 0 comments
Open

Comments

@amcaplan
Copy link
Contributor

amcaplan commented Jul 20, 2016

I spent basically all of today trying to figure out how to get apivore specs to run in the appropriate order so the grand-finale spec will pass.

For future developers, it might help to clarify that:

  1. The grand-finale spec has to go last
  2. It's necessary to specify order: :defined on the top context
  3. You can't define specs in other files (unless you include them via shared_examples)
  4. The and context is actually necessary because of RSpec's recursive method of spec ordering

Won't help me at this point, but it might make future devs' intro to apivore a little smoother.

Also, thanks so much for this awesome tool! Despite my rough intro, it's saving our team a lot of time and giving us much greater confidence that our API actually matches the docs we've set up for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants