canb0 / MobileDeviceLab

6 stars 8 forks source link

Run time setup instead of batch file #2

Open vikramvi opened 7 years ago

vikramvi commented 7 years ago

Hi,

I've java code which does below tasks

I would like to submit PR for your repo, do you have any idea where above actions can be done before testng starts executing test cases in parallel ?

I'm working with junit and this is first time I'm using testng

Thanks, Vikram

canb0 commented 7 years ago

Hello,

TestNG had great annotations before JUnit released its latest version. As far as I think

You need to do all those operations in @BeforeSuite annotation. By this way, your server will be ready before any other operation starts. In case you need help, I can contribute to your code.

vikramvi commented 7 years ago

Thanks @canb0 I can submit PR in this repo itself in few days.