Selenium Java - TestNG Integration
You have three tests:
init(), login(), and purchase(). login() depends on init(), and purchase() depends on login(). If init() fails, what happens when you run all tests together?