QA/Execution/Web Testing/Selenium Guidelines: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 5: Line 5:
# Testcase/suite naming structure:
# Testcase/suite naming structure:
## Give meaningful names to testcases
## Give meaningful names to testcases
## Test cases need to be named starting with test (eg. test_addTag.py) so that hudson doesn't see setup/config scripts as tests
### Testcase: e.g.: collections_addNewCollection.py (testarea_nameOfTestCase.py)
## Don't use hyphens
### Suite: suite_Collections.py ("suite" is required and standard; _Collections.py is whatever area you're writing it for)
## Testcase: e.g.: collections_addNewCollection.py (testarea_nameOfTestCase.py)
### Don't use hyphens, as those are illegal in Python class names
## Suite: suite_Collections.py ("suite" is required and standard; _Collections.py is whatever area you're writing it for)
# Have the testcase reviewed by a peer, following these requirements
# Have the testcase reviewed by a peer, following these requirements
# Comment briefly about the flow and aim of the testcase, as well as commenting inline
# Comment briefly about the flow and aim of the testcase, as well as commenting inline
Confirmed users
9,511

edits

Navigation menu