You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The grand-finale spec has to go last
It's necessary to specify order: :defined on the top context
You can't define specs in other files (unless you include them via shared_examples)
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.
The text was updated successfully, but these errors were encountered:
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:
order: :defined
on the top contextshared_examples
)and
context is actually necessary because of RSpec's recursive method of spec orderingWon'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.
The text was updated successfully, but these errors were encountered: