Selenium WebDriver without a Test Runner?

253 views Asked by At

I'm not sure if this question is going to be closed due to it being too novice but I thought I'll give this a shot anyway.

I am currently working on a Selenium Automation framework which, though seemingly well built, is running it's code by spawning threads. (The framework is proprietary so I'm unable to share the code)

This framework instead of using a Test Framework like JUnit or TestNG to run "Tests", uses a threaded approach to run. aka, the methods that read datasheet, instantate and execute the Drivers, report the results etc. them are executed by starting a thread, the class of which is instantiated at various places in the code on runtime.

My concern is: though it runs fine locally with providing the reports and what have you, what it would be unable to do, due to it not operating using a Test Runner, it's unable pass or fail a "Test". Therefore, on putting this up on a build pipeline, "Test"s wouldn't be executed as there are no "tests" so to speak, thereby making it making it lose it's juice on CI/CD as far as reporting of build pipeline success or failure is concerned.

Am I justified/unjustified in my concerns? Why? And is there a workaround for this? At what ROI?

Resources or links shall be welcomed and beer shall be owed!! :-)

Cheers,

  • Danesh
0

There are 0 answers