Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

OpenIMIS is not a code Quality assurance tool therefore in order to ensure that the quality is met before doing a production release third party tool need to be use.

The test case can be defined using gherkin as described in the dedicated page, then it make it easy to deploy them in a Quality assurance tool because the precondition (Given), (When) actions and (then)result are defined.

For the release 1.4.2 of April 2020, the QA platform called Test-link http://testlink.org/ was used, the gherkin test cases are documented there https://github.com/openimis/openimis-gherkin

In order to document the test case with excel before lading them in test-link, those excel macro can be used https://github.com/MrBricodage/TestLink--ExcelMacros

We also provide Excel templates to document the test cases which can be easily imported into Gherkin. To get you started we have a list of our test cases documented here:

  • Enrolment and renewal test cases for web and mobile app

Happy Testing.

Test-Link is a QA platform that we use to perform the test cases: https://qa.openimis.org/index.php

Below is a step-by step of how to set up and execute the tests. Note that step 1-5 is only needed if you need to set up the test cases from scratch. If you have been provided login details and assigned a testing plan, you can go straight to step 6.

Setting up test cases

Step 1: click on the link above and login with the credentials provided to you.

Step 2: go to “test specification” to import the test cases from an xlm file (you can extract this from the test case excel file). Make sure you always choose the tab “update on latest version” and check both “active” and “public”.

Step 3: go to “test plan management” to create test plans. You could create for example one test plan with all tests, one test plan for all web app tests and a third one for only Android mobile tests. Make sure you check both “active” and “public” when creating the plans.

Step 4: go to “add/remove test cases” to add the test cases to the respective test plans. Do this by ticking the boxes next to the test cases you would like to include and press “add selected”. The tests that have been included should appear highlighted in yellow.

Step 5: go to “builds/releases”. In order to start executing the tests, you need to create a “build” for each test plan, which is a sort of batch. This is generally characterized by when you are testing or for which release e.g. naming it “April release 2021”. You are now ready to start executing the test cases.

Executing test cases

Step 6: Go to “execute tests” (on the right). Select the desired test plan and build. On the bottom left, you open the test case folder and select the one you want to start with. In grey are the tests not yet run, in green those passed, in red those failed and in blue those blocked. At each step update the “execution status” on the right hand side. You can also add comments and attached files such as screenshots. Once you arrive at the bottom of the page, enter the time it took you to complete the test and select the symbol that applies and move to the next case. Split these into multiple steps

  • No labels