Sean DeNigris wrote:
> Hi list,
> 
> Does anyone have experience using Rspec for both the feature and spec
> cycle with Autotest?

Yes!

> 
> 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.

Probably not a great idea to use mocks.  What real resources are slowing 
you down?

For the rest, if you use Cucumber for your acceptance tests (which you 
should!), then autotest will act as you described by default if 
AUTOFEATURE is true.

> 
> 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.
> 
> Thanks.
> Sean DeNigris

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen / marnen.org
-- 
Posted via http://www.ruby-forum.com/.