Bugs: Browse | Submit New | Admin

[#26240] Duplication 'pending' issue

Date:
2009-06-15 18:57
Priority:
3
Submitted By:
Eric Thompson (erict)
Assigned To:
Hugh McGowan (hmcgowan)
Category:
rasta fixture
State:
Open
Summary:
Duplication 'pending' issue

Detailed description
There seems to be an issue when a test case on a spreadsheet tab has a pending value and throws an exception anywhere
else on the tab (other test cases maybe).

__________________________________________________________________________
Survey[F43] reply() should handle exceptions (NCOLLAB-2281)
C:/Ruby/lib/ruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta/fixture/rasta_fixture.rb:91:in `create_rspec_test'

Survey[F43] reply() should == nil (NCOLLAB-2281)
C:/Ruby/lib/ruby/gems/1.8/gems/rasta-0.1.9-x86-mswin32-60/lib/rasta/fixture/rasta_fixture.rb:95:in `create_rspec_test'
__________________________________________________________________________

In rasta_fixture.rb, both iterators make a call to 'set_pending_status'.  It seems the check for
@fixture.methods.include?('pending') may be bleeding between test cases?

The testrun results state '2 pending' when in actuality, it is only 1 pending with a failure elsewhere on the same tab.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item