[rspec-users] Shared scenarios?

Scott Taylor mailing_lists at railsnewbie.com
Wed Feb 20 21:27:23 EST 2008


On Feb 20, 2008, at 2:36 PM, Michael Latta wrote:

> David,
>
> I am new to rspec.  What is the process for getting changes done?  If
> I implement this is it hard to get into the release version?  What is
> the recommended approach for submitting such a change?
>
> Michael
>

1. Download a copy of trunk
2. make a test driven change (obviously)
3. When done, rake install_dependencies, and rake pre_commit
4. svn diff > your_patch.diff
5. Create a ticket on lighthouse, give some explanation, and attach  
the patch.

That's the basic process.

Scott


>
>
> On Feb 20, 2008, at 10:50 AM, David Chelimsky wrote:
>
>> On Feb 20, 2008 1:30 PM, Michael Latta <lattam at mac.com> wrote:
>>> In the story framework I would like to have tests that mix and match
>>> scenarios using GivenScenario so for example a scenario that does
>>> scenarios A, B, C in various orders.  Right now all scenarios  
>>> need to
>>> be self-standing since all the scenarios in the story get run.  I
>>> would like scenarios that are only run from GivenScenario so they  
>>> can
>>> be modular.  Is this possible?  Alternatively could I use
>>> GivenScenario to invoke scenarios from another story that is never
>>> itself directly run?
>>
>> Neither of these are currently supported. Feel free to enter feature
>> request tickets at http://rspec.lighthouseapp.com.
>>
>> Cheers,
>> David
>>
>>>
>>> Michael
>>>
>>> _______________________________________________
>>> rspec-users mailing list
>>> rspec-users at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/rspec-users
>>>
>> _______________________________________________
>> rspec-users mailing list
>> rspec-users at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/rspec-users
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list