Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

QA team is in charge if a test needs to be added(add a new test to TeamCity)/muted(the test will not send warning message when failed)/ignored(the test will not be run).

More TeamCity knowledge: Maintaining Tests on TeamCity /wiki/spaces/QAT/pages/5432088880

Test scripts structure (code):

...

  • Avoid “directly“ execute command (using script like root.API.executeCmd("")) in script page (i.e. notificationTemplates_test.py), since the command in system can be modified. Create a function to execute command. Collect all functions in a file in folder MarineLMS.Test.QA. (i.e. Template.py is a collection of all functions needed by template test script)

  • (TODO) Try to organize your test objects as classes. It helps you to protect data, manage you test steps and clean up after testing. (i.e. files in MarineLMS.Test.QA/LMSClasses)

  • Remember to delete generated files/folders at the end of your script

...