cucumber with html profile - steps not shown due to #<DRb::DRbUnknown ... > #88

Open
harryhorn opened this Issue Feb 18, 2011 · 3 comments

Comments

Projects
None yet
2 participants

Hi,

I have a new rails 3.04 project and this happens to me with both 0.8.4 and 0.9.0.rc3. I run
spork cuc
as usual and if I run the command:

cucumber -P --drb -f html --out cuc.html

everything appears fine in the html so my env is setup correctly.
If however I run:

cucumber --profile textmate > cuc.html

when the profile is defined like so -> textmate: --drb --format html features
The tests pass as usual but the step definitions appear as # i.e.

Scenario: successful retrieval
Given #
features/step_definitions/user_retrieves_spaces_steps.rb:1
When #
features/step_definitions/user_retrieves_spaces_steps.rb:7
Then #

looking at the HTML source I see:
Given #DRb::DRbUnknown:0x0000010130db88

so for some reason when running cucumber with a profile I get this problem. Note that running without spork and the same profile commands works fine so after investigating this for a while my conclusion is that this is most likely a spork issue due to some conflict I cannot figure out.

The reason this is important is because I use profiles with cucumber to run it inside textmate and haven't figured out a different way to do it.

Thanks for you help on this. Spork is great!

Harry

Same problem here. Did you ever manage to find a workaround?

No, but I have not tried again lately with any newer versions.

harryhorn closed this May 22, 2011

harryhorn reopened this May 22, 2011

closed by mistake ... reopening :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment