Reputation: 423
I have two testng Listeners. One to create report html files with results of the testrun, and one to write the results in a database. The html files must be available, to write them in the database, so i must control the runorder.
Is there any configuration possibility or a way to let the listeners communicate with each other? I'm using maven with the listener property in the pom.xml.
Upvotes: 2
Views: 1957
Reputation: 15608
No. Maybe you could create your own reporter that calls these two in the order you want?
Upvotes: 3