Closed deeptiGuptaUIUC closed 6 years ago
in which release of testng is this bug fix available?
@cbeust do you know in which release of testng will this bug fix be available?
@formynet - Please make use of the latest released version of TestNG viz., 7.0.0-beta5
TestNG Version: 6.14.3
Expected behavior:
The documentation states that in a testng run, IexecutionListener will be executed only once.
Actual behavior:
When we use IexecutionListener as annotation in test cases and bundle those suites to run using a XML, the onStart() function gets executed multiple times. In a medium suite, it is executed 2 times. In a large suite file, which contains 2 other suites (small and medium), the onStart function is executed 3 times.
Is the issue reproductible on runner?
Test case sample
Sample Test Class
Sample XML File
Sample Output
Sample ExecutionListener: