He wants to run all combinations of ordered 2-tuples of test groups B and T.

Base scenarios B1 to B10
Tests T1 to T3

Run B1, then T1
Run B1, then T2
Run B1, then T3
Run B2, then T1
Run B2, then T2
Run B2, then T3
(...)
Run B10, then T1
Run B10, then T2
Run B10, then T3

-- 
Alexander Kriegisch
https://scrum-master.de

> Am 13.09.2017 um 19:01 schrieb Marcin Erdmann <[email protected]>:
> 
> Alex, can you please explain what Vishnu is trying to do? I'm struggling to 
> understand what he means by running combinations of specs...
> 
>> On Wed, 13 Sep 2017 at 09:43, Alexander Kriegisch <[email protected]> 
>> wrote:
>> Instead of just answering your question technically, I would like to learn 
>> more from you first. Why would you run T1-3 for each of B1-10? What gets 
>> better if tests are repeated? One possible explanation would be that your B 
>> scenarios do some kind of setup for the T tests and that T's results are 
>> dependent on which B was running beforehand. To me this is a smell because 
>> tests should be independent of each other.
>> 
>> I know *what* you want to do, but please explain *why* you think you should 
>> do it that way. Then maybe we can find a way to achieve what you want to 
>> achieve by redesigning your tests in a more proper way.
>> 
>> -- 
>> Alexander Kriegisch
>> https://scrum-master.de
>> 
>> 
>>> Am 12.09.2017 um 19:17 schrieb Braavosi <[email protected]>:
>>> 
>>> Hello,
>>> 
>>> 
>>> I have 10 different scenarios, which i have marked as base scenarios or 
>>> (these are 10 specs) which i wanted to run with combination of say another 
>>> 3 tests
>>> 
>>> 
>>> Eg,
>>> 
>>> Say Base tests are B1, B2....B10 (all these are geb specs)
>>>  and my tests are T1, T2, T3 (all these are geb specs)
>>> 
>>> I wanted to run B1T1, B1T2, B1T3...like all the 30 different combination
>>> 
>>> is there any way we can achieve this with Geb and spock (i can not use 
>>> Junit or TestNG since i won't be getting the Spock report)
>>> 
>>> Br,
>>> Vishnu
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Geb User Mailing List" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To post to this group, send email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/geb-user/e85425e6-9e0a-42a2-891b-773ded67c4c0%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>> 
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Geb User Mailing List" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/geb-user/6191E7FA-D1D8-4B8F-9E28-2D39496E5A4B%40kriegisch.name.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Geb User Mailing List" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/geb-user/CA%2B52dQSpheQD55b-1ZFAse1huagknu9ovgYYPBF4vrGcpGip_A%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/3B7287C5-22C0-460B-BE58-3BBC8A2820DC%40kriegisch.name.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to