Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@Only on test group AND test suite causes first group to run #15

Closed
bvisin opened this issue Oct 1, 2018 · 1 comment
Closed

@Only on test group AND test suite causes first group to run #15

bvisin opened this issue Oct 1, 2018 · 1 comment

Comments

@bvisin
Copy link
Contributor

bvisin commented Oct 1, 2018

@only on the test suite AND the third It group runs the first It group AND the third It group. Probably related to but I wanted to give you more debugging ;) #14

'@Only
'@TestSuite [RBSA] Rooibos before after tests

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'@It tests one
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

'@Test it one
function RBSA__it_test_one() as void
    m.AssertTrue(true)
end function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'@It tests two
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

'@Test it two
function RBSA__it_test_two() as void
    m.AssertTrue(true)
end function

'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
'@Only
'@It tests three
'+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

'@Test it three
function RBSA__it_test_three() as void
    m.AssertTrue(true)
end function
[main] RunUserInterface
Starting test using test scene with name TestsSceneTestsScene
#########################################################################
#TEST START : ###UNDEFINED_TEST_ID###
Loading test config from default location : pkg:/source/tests/testconfig.json

[START TEST REPORT]

[RBSA] Rooibos before after tests [ONLY] (pkg:/source/tests/BeforeAfterTest.brs(1))
 |-tests one
 | |--it one : ..................................................................Success        pkg:/source/tests/BeforeAfterTest.brs(9)
 |
 |-tests three
 | |--it three : ................................................................Success        pkg:/source/tests/BeforeAfterTest.brs(28)
 |


[END TEST REPORT]

Total  = 2 ; Passed  =  2 ; Failed   =  0 ; Ignored   =  0
 Time spent:  0ms


RESULT: Success
BRIGHTSCRIPT: ERROR: roUrlTransfer.PostFromString: Sync-wait interrupted: pkg:/source/lib/rooibos/rooibos.cat.brs(2042)
@georgejecook
Copy link
Collaborator

fantastic test report. THANKS! I was able to resolve it in 2 minutes thanks to the clarity of your report. I've added it as a test to the suite. Much obliged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants