-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
It looks like the current pattern is to add test classes to the suites.
For instance, https://github.com/cbeust/testng/blob/40f7935b00d3546187f793e98d0f49ea41ef542d/testng-core/src/test/resources/testng.xml seems to list classes that are not really related.
testng.xml adds no parameters, it adds no important before/after suite listeners, so it is not clear what are the benefits of having such a suite.
However, suites add the following issues:
- The global suite file is prone to merge conflicts: different people might add unrelated tests to the same place in the suite file.
- One can forget to include the newly added test class to the suite, so the test won't get executed at all.
So I would suggest avoiding the suites unless there's an explicit need for that.
Metadata
Metadata
Assignees
Labels
No labels