Rspec single file

Hi Guys,

How can run the single spec file without loading the environment.

I know ruby spec commands will load the total environment.

I want to run the files one by one those are not in same folder and i
to load test environment once for all 10 files.

Can we run single file through the Rspec:Core:Runner or some other

Can you guys please help me?


I assume you’re asking in the context of Rails?

If so, take a look at Spork[1]. You can choose what you want to load
and what you want to load before every spec.



2011/3/10 phani kumar [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs