TestProject Forum

TestProject Platform => TestProject SDK => Topic started by: jaydeep.paradise on August 02, 2018, 21:54:26 pm

Title: Can't run my Test, there is no main() method
Post by: jaydeep.paradise on August 02, 2018, 21:54:26 pm
Shall I need to keep below method in my project? or shall I start with main java method?

public ExecutionResult execute(WebTestHelper helper) throws FailureException

In document you mentioned to keep. but when I am executing my maven project, it;s not finding starting node.
please advice.
Title: Re: Explain below details
Post by: Marat Strelets on August 02, 2018, 21:56:31 pm
You shouldn't try to run the Test. Test has no runnable method.
Instead you should run a "Runner" project that references the test and has a main() method.