Created
June 8, 2011 19:18
-
-
Save Marlena/1015141 to your computer and use it in GitHub Desktop.
What I check for when I do code review for AMO selenium tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Filename matches first classname | |
* filename is lowercase with underscores between words | |
* class name is camelcase and THE SAME as file name | |
Files with tests do not contain "self.selenium" | |
Locators are in CSS - (btw css can do children) | |
http://www.w3.org/TR/CSS2/selector.html | |
Check the locators with firefinder | |
Is it random enough? - tests should not rely on the presence of a particular addon unless it is a test specifically for that addon | |
Will this test/page object over-write other work being done - it's always worth having a glance through the current set of pull requests to make sure there won't be any duplicated code: | |
https://github.com/mozilla/Addon-Tests/pulls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment