testng - Incorrect test suites order in reportng html report -


my test launch consists of test suites specified in testng.xml. in html reportng report see test suites logs in incorrect order in comparison run , specified run them in xmls.

do have idea how fix it?

thanks in advance!

update (to antonio):

i'm sorry samples in russian

i see following in reportng html test report: enter image description here

it's totally incorrect order in comparison actual tests running order (and testng xml test suite):

<suite name="fullsuitename" verbose="1">     <suite-files>         <suite-file path="thisis5thsuiteonthefigure.xml"/>         <suite-file path="thisis3rdsuiteonthefigure.xml"/>         <suite-file path="thisis4thsuiteonthefigure.xml"/>         <suite-file path="thisis1stsuiteonthefigure.xml"/>         <suite-file path="thisis2ndsuiteonthefigure.xml"/>     </suite-files> </suite> 

test reports each test suite shown in correct order.

actually, launch test suite via maven task jenkins. details need post here?

and cannot understand how fix it.

the report shows order in tests run. in case, suites run in order shows in report. testng not run tests in top-down order (see link). seems choose , see 1 fastest, , runs first. if need tests run in order, can set via dependencies or priorities.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -