...
- Each page in the website will be contained within its own package.
- Tests for each page can be separated into separate classes for better organization/structure. For example, if a page contains multiple views or different tabs within the page.
- In TestNG, test classes are ran in alphabetical order. (The unit tests within each class are ran in alphabetical order as well.)
- Architecture Example:
Setting Up The TestNG Test Suite
TestNG is invoked using a testng.xml file. See TestNG Documentation (testng.xml).
...