Web Testing/Automation/automation-07-24-2010: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
 
Line 6: Line 6:
*** Use unittest’s errorhandling rather than implementing its own
*** Use unittest’s errorhandling rather than implementing its own
*** have smaller test methods (split large ones into multiple tests/files)
*** have smaller test methods (split large ones into multiple tests/files)
**SUMO
**SUMO
*** consolidate setUp and tearDown into one file, and import functions/etc in setUp with same object names
*** consolidate setUp and tearDown into one file, and import functions/etc in setUp with same object names
*** have consistent varname / object construction within setUp for sumo_functions and sumo_test_data
*** have consistent varname / object construction within setUp for sumo_functions and sumo_test_data

Latest revision as of 17:30, 23 July 2010

Discussion Topics

  • update on page model
  • general improvements:
    • AMO
      • Do not print stdout for passing test
      • Use unittest’s errorhandling rather than implementing its own
      • have smaller test methods (split large ones into multiple tests/files)
    • SUMO
      • consolidate setUp and tearDown into one file, and import functions/etc in setUp with same object names
      • have consistent varname / object construction within setUp for sumo_functions and sumo_test_data