Can't run my Test, there is no main() method

  • 1 Replies
  • 597 Views
Can't run my Test, there is no main() method
« 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.
« Last Edit: August 07, 2018, 17:03:53 pm by Marat Strelets »

Re: Explain below details
« Reply #1 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.

 

Sitemap 1 2 3 4 5 6 7 8