Does anyone have experience using Rspec for both the feature and spec
cycle with Autotest?
What I mean is that I’m developing a library that will only be used by
other developers. However, if I only write specs and not acceptance
tests, I have no idea if it’ll work, and if I hit real resources in
the specs, coding is really slow because I don’t find out if I have a
silly error until I wait for half the tests to run.
What I’d like to do is something like this: run all my specs with real
resources as acceptance tests, then drop down into running the specs
with mocks until they all pass, then jumping out to the “feature
layer” of real resources, all automatically with Autotest.
I haven’t gotten into specifics yet, just brainstorming, and wanted to
know if someone has a good way to deal with this type of situation.