You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to testn...@googlegroups.com
Hi,
in the attached project I have a suite that uses the 'suite-files' construct to include other suites. I also defined an excluded group for the higher suite, which is supposed to override the group setting of the lower level suite. However the group settings of the higher level suite seem to be completely ignored when executing it. I debugged a little using the TestNG class and the group settings for the higher suite did not even show up after parsing the suite file. Maybe that is the problem?
For me it feels like it should work that way, but if not I would appreciate some comments!
Best regards, Philipp Maschke
PS: Other than that TestNG is a hell of a testing framework! Thanks a lot for all your efforts!
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to testn...@googlegroups.com
Hm... is there a workaround for this? Or are there any best-practices for running lots of tests with different configurations? We want to be able to run tests on developer machines ("local") and on a CI-server ("remote"), both of which require different methods to be excluded. We are currently using hierarchical suites for developers to be able to run all tests of a specific component, while the remote tests are executed using a suite of all suites. Any ideas?
Cédric Beust ♔
unread,
Dec 14, 2012, 12:35:01 PM12/14/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to testn...@googlegroups.com
Your best bet is probably to create your own testng.xml file programmatically. Read all your .xml files, interpret them the way you want them (have some settings override, others, etc...) then create on XmlSuite in memory and pass it to TestNG.
Hm... is there a workaround for this? Or are there any best-practices for running lots of tests with different configurations? We want to be able to run tests on developer machines ("local") and on a CI-server ("remote"), both of which require different methods to be excluded. We are currently using hierarchical suites for developers to be able to run all tests of a specific component, while the remote tests are executed using a suite of all suites. Any ideas?
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.