Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Updated URLs via script

...

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

...

  1. Every morning you need to check the result.

  2. If there are failed tests related to PS, you should create a task in Jira and let PS team know.

  3. Then inform QA team that PS team is working on it. The test will be muted so it will not keep sending alerts.

  4. When the issue is resolved, you need to let QA team know and let them un-mute the test.

Ongoing Tasks: