archick12 / qa_auto_5_ui

7 stars 8 forks source link

Refactor Listener layer #65

Open spektorius opened 6 years ago

spektorius commented 6 years ago

Suggestion to refactor ListenerTest and DriverManager. I think it would be nice to move browser instance creation logic from ListenerTest.onStart() to new DriverManager's method to be able to call this logic from different listeners (class listener, test listener, method listener), passing parameters to it.

Goal: to be able to make parallel execution more flexible (run not only test-blocks in different threads but also classes, methods)