3.3 Regression & Release Candidate Test Plan

3.3 Regression & Release Candidate Test Plan

Test Plan

Regression Test Plan

During Sprint 49 we will follow the regression test plan detailed below: 

  • If there are Blocker or Critical bugs when we start Sprint 49, they must be fixed and tested before Regression testing can begin

  • Regression Test Plan will only include Phase 1&2 (Two full days of testing for both teams, and 2 days for bug fixes and bug fix testing)

  • Please execute the test cases in the order that they are listed in the test cycle, as assigned to you by the QA lead

  • If no Blocker or Critical bugs, then move to next phase

  • Testing will be done in test and uat environments

Test Phase

Components/Features

Assigned in Test Cycle

Dates

QA lead responsibilities

Test Phase

Components/Features

Assigned in Test Cycle

Dates

QA lead responsibilities

Phase 1

Requisitions

External Fulfillment

Stock Management

CCE

Administration

3.3 Regression Phase 1

1 full day Team Parrot

1 full day Team ILL

Team Parrot: Joanna Bebak (Deactivated)

  • Joanna will provide status of testing by end of day. Any test cases that are not completed by end of day will be picked up by Team ILL. 

  • After Team Parrot finishes testing this day, Joanna will triage and prioritize any bugs found in Phase 1

  • If there are Blocker or Critical bugs they will be assigned to a Phase 1 Bug test cycle for Team Parrot to begin work the next day.

  • Bugs are labeled Phase1bug

Team ILL: Sam Im (Deactivated)

  • After Team ILL finishes testing, there should be no more remaining test cases. Sam will provide status of testing by end of day.

  • Sam will triage and prioritize any bugs found in Phase 1 (all bugs reported by Team Parrot & Team ILL)

  • If there are Blocker or Critical bugs they will be assigned to a Phase 1 Bug test cycle for Team Parrot to begin work the next day.

Bug triage

Bug triage for Phase 1

Phase 1 Bug test cycle

1 full day Team Parrot 

This bug test cycle is done in parallel (on the same day -  as Phase 2 below)

 

Phase 2

Bug Fixes & edge cases

Exploratory Testing

Translations

Performance Testing for:

  • Regression

  • New features

3.3 Regression Phase 2

1 full day Team Parrot

1 full day Team ILL

  • Anyone not participating in bug fixes will complete Edge case, exploratory or translation testing

  • For all bug fixes, we will require re-push reviews via pull requests or have more reviewers for any change. If reviews are still pending at the end of the day, please mention the reviewer in slack.

  • Brandon and one other team member will complete performance testing

  • Bugs are labeled Phase2bug

Bug triage

Bug triage for Phase 2

Phase 2 Bug test cycle

1 full day Team Parrot (as needed)

 

After these test phases are complete, and all tests have passed with no Blocker or Critical bugs, we can deploy the release candidate and begin the next phases of testing that are defined below.

 

Release Candidate Test Plan

 

Gliffy Diagram

 

Please execute the test cases in the order that they are listed in the test cycle for the Release Candidate testing.

Test Phase

Components/Features

Assigned in Test Cycle

Dates

Test Phase

Components/Features

Assigned in Test Cycle

Dates

Phase 1

Requisitions

External Fulfillment

Stock Management

CCE

Administration

3.3 RC Phase 1 

(Any test cases that are not completed by end of day for Team Parrot will be picked up by Team ILL. Sam Im (Deactivated) will assign the remaining test cases.)

1-2 days 

Bug triage

Bug fix RC1

as needed

 

Phase 2

Local Fulfillment

Vaccine stock based requisitions (Vaccine SBR)

POD

3.3 RC Phase 2 

(Any test cases that are not completed by end of day will be picked up by Team Parrot the next day. Joanna Bebak (Deactivated) will assign the remaining test cases.)

1-2 days

Bug triage

Bug fix Phase 2

as needed

 

Phase 3

Bug Fixes & edge cases

Exploratory Testing

Translations

Low bandwith - Brandon Bowersox-Johnson will track

Joanna Bebak (Deactivated) - Since the tests in this phase (exploratory or edge cases) are adhoc or do not exist, how should we track the test cases that are executed? Or test steps so that someone can reproduce the tests?

A bug fix test cycle will be created as needed

2 days

 

Roles & Responsibilities

QA Team Leads

Sam and Joanna will be the QA leads for each team. 

Owner

Responsibilities

Questions

Owner

Responsibilities

Questions

Sam Im (Deactivated) (for Team ILL)

Joanna Bebak (Deactivated) (for Team Parrot)

  • Create Test Cycles 

  • Create missing test cases and assign to test cycles

  • Assign Test Cases to team members

  • Point person for any questions about test cases from the team

  • Review execution of the test cycles, there should be positive progress during the day

  • Prioritize bugs per test cycle, Check that developers have detailed proposed solutions (if time allows or developer's experience allows) When a bug is created during the day, the bugs are triaged before end of day and detailed in the daily QA slack communication

  • Report the status of each test cycle, including defects reported, before end of day 

  • After a bug fix test cycle, review automated testing and provide status before end of day (go to http://build.openlmis.org/view/all/builds)

 

Team ILL & Team Parrot

  • Execute test cases assigned to you

  • Record the test execution by following these steps:Testing Process & Test Plans#ExecutingTestCase

  • Enter Defects as encountered:

    • If there are any Blocker bugs, try to spend time completing a root cause analysis and add details in the bug ticket for ease in bug triage

    • When a defect is found, research and provide proposals in the ticket for review by Sam & Joanna (as time allows)

    • All bugs are labeled with their release candidate: RC1, RC2, etc.

  • Assist other testers as needed

  • Brandon Bowersox-Johnson or Chongsun Ahn (Unlicensed) (who else can do this since Josh is out?) to set up update environment(s) with Release Candidate before testing begins

  • Brandon Bowersox-Johnson to provide updates on automated performance testing results

  • Brandon Bowersox-Johnson to coordinate manual UI Performance Testing

 

  • Brandon Bowersox-Johnson will work with Paweł Gesek on assigning responsibility for member on Team Parrot to help test UI performance during the release candidate testing

  • Sam Im (Deactivated) & Joanna Bebak (Deactivated) will create a bug test cycle when bugs are found, and assign the test cases to them, for each phase there will be a separate bug fix test cycle

Bug Triage team

Members

Responsibilities

Questions

Mary Jo Kochendorfer (Deactivated)

Brandon Bowersox-Johnson

Sam Im (Deactivated)

  • Review list of bugs provided by Sam & Joanna in QA slack channel

  • Prioritize bugs

  • Provide priority to Sam & Joanna to update in QA slack channel (via filter or dashboard?)

  • Sam & Joanna create test cycles for retesting if needed

  • Sam & Joanna provide status update on bug fixes in QA slack channel as needed

  • Brandon Bowersox-Johnson to create a new board for the bugs and tracking resolution. Also communicate in slack the bugs that have been added to the board for the day.

  • When should we meet every day? Twice a day: 9am and 4pm

  • Guidance on Bug prioritization is located here:http://docs.openlmis.org/en/latest/contribute/contributionGuide.html#reporting-bugs

  • If there are bugs, then testing for this phase will be done in uat only.

  • If there are bugs found, then we must retest 

  • If bugs prioritized as Major or less, they will be triaged in Phase 2 bug triage
    Communication of the test plan before we start testing for the release

    • Joanna Bebak (Deactivated) and Sam Im (Deactivated) are responsible for communicating this test plan in the QA slack channel

Communication on the Test Plan and the daily testing status:

  • What needs to be communicated daily?

    • Test Cycle execution status (including test cycle name and % of completion)

    • #of test cases that were executed, passed, and failed

    • Joanna Bebak (Deactivated) will post any test cases or items that need attention and review by Team ILL at the end of her day in the QA slack channel

    • Sam Im (Deactivated) will post any test cases or items that need attention and review by Team Parrot at the end of her day in the QA slack channel

  • Best time of day (for each team to communicate morning status and end of day status & share blockers)

    • Beg of day, post what we are doing today

    • End of day, post status of what we have done and anything pending

Environments and Demo Data for testing

Test and UAT will be used for testing.

Refer to demo data readme for more details about user permissions: https://github.com/OpenLMIS/openlmis-referencedata/blob/master/demo-data/README.md

ONLY test with the users "Admin" or "Administrator" when executing test cases related to Administration activities.

When testing Requisitions and External Fulfillment, please use the following usernames listed in the diagram below:

When testing Vaccine Stock Based Requisitions, Local Fulfillment, CCE, and Stock Management, please use the following usernames listed in the diagram below:

Gliffy Diagram

Edge Case and Exploratory Testing scenarios

Edge Case Testing examples:

 

UI Exploratory Testing examples:

  • Functional issues: Offline functionality isn't working 

    • All functional bugs should be Blocker or Critical bugs:  

      OLMIS-3983 - Cannot access offline requisition DONE  
      OLMIS-4076 - It's possible to submit a requisition twice: duplicate status changes IN PROGRESS

  • UI to Server failure: bugs that are caused because the UI passes incorrect values to server, not human readable 

    • Blocker: 

      OLMIS-3509 - No error message when create user fails DONE

    • Minor:  

      OLMIS-3299 - Insufficient error message when submitting physical inventory with a future date TO DO

  • Configuration issues: demo data is wrong 

    • Blocker: 

      OLMIS-3501 - I can select a program that is not supported by My Facility on the Create/Initiate page. DONE  
      OLMIS-2980 - Broken translations for Stock Management Adjustments page titles DONE

    • Minor:  

      OLMIS-2792 - Cannot add Issue for Essential Meds - demo data issue TO DO

  • Visual inconsistencies: Visual bugs (text goes outside of a modal), missing error icon 

    • Critical:  

      OLMIS-3500 - The black background is only the height of the window DONE  

    • Minor:  

      OLMIS-3987 - Long text not wrapped properly in modals TO DO

  • Presentational issues: Workflow bugs (back button doesn't go to where you expect it), tabbing 

    • Blocker:  

      OLMIS-3508 - Batch approval sticky rows do not respond to scrolling DONE  

      • Minor:  

        OLMIS-3746 - Source Comments input field not displayed correctly on Firefox TO DO

 

Performance Testing

  • Regression versus New Features: 

    • Regression testing, including the UI Performance Manual Tests so we can compare 3.3 to 3.2. We want to find any significant changes from 3.2. We will use the same data set (from Malawi) as we used last time. We can create another graph like the one in the release notes from 3.2. If performance got any worse from 3.2 to 3.3, we will consider that a Critical/Blocker bug and we will fix performance to be at least as good as v3.2 was before releasing 3.3.

      • DONE: Brandon Bowersox-Johnson to follow up with Christine to pull MW data.

      • Will need to include emergency requisitions if this is not already included in the test script.

    • New Features are not part of the UI Performance Manual Test plan. We will not be expanding the manual testing plan to cover all new features. We may do some manual UI Performance testing of some new features to identify any major problems. We may need to build out more demo data or performance data to conduct this testing. After v3.3, we want to build end-to-end tests that capture performance data for the major new features and the old features so that no more manual testing is needed to gather performance data.

    • Testing will be done on perftest.openlmis.org. Brandon Bowersox-Johnson and Chongsun Ahn (Unlicensed) will manage and communicate what data sets are loaded there for what kinds of testing.

  • API testing:

    • We will try to repair, run, and analyze results from the automated API performance tests.

    • If there are major regressions or slow-downs from our previous release, we will consider that a Critical/Blocker bug (as above).

  • Tooling:

    • There is logging from the code that helps track performance (implemented in 3.2.1).

    • Automated performance tests have been failing for a while. (Josh is working on this FYI Brandon Bowersox-Johnson)

      • tests tripping crash jenkins

  • Current issues:

    • Already have an epic for "Performance 3.3" to collect ideas.

    • logging in takes forever, may be a UI problem OLMIS-4282 (unable to reproduce, marked as dead)

    • Retrieving orderables takes long OLMIS-4281 (DONE)

    • We don't have non-functional specs that explain expectations when connecting via 3G or 2G, etc. (Josh Zamor (Deactivated) to follow up on when this can be completed, if we do, and where; likely after v3.3)

    • Other issue: MW bug issue (OLMIS-4251 - Need to flag with Mary Jo Kochendorfer (Deactivated) to discuss what is realistic)

 

 

Regression Testing Status

Phase 1 Bug Tracking:

Phase 1 bug list: https://openlmis.atlassian.net/issues/?jql=filter+%3D+%223.3+Regression+-+Phase+1+bugs%22+order+by+Resolution++

 

Regressions found in Phase 1:

https://openlmis.atlassian.net/issues/?jql=filter+%3D+%223.3+Regression+-+Phase+1+bugs%22+and+Labels+%3D+Regression+ORDER+BY+Priority++

 

Phase 2 Bug Tracking:

Phase 2 bug list: https://openlmis.atlassian.net/issues/?jql=filter+%3D+%223.3+Regression+Phase+2+bugs%22+order+by+Resolution++++

 

Regressions found in Phase 2: None!

 

Release Candidate Testing Bugs

Release Candidate 1:

RC1 bug list: https://openlmis.atlassian.net/issues/?jql=filter+%3D+%223.3+RC1+bugs%22+

 

Release Candidate 2:

RC2 bug list: https://openlmis.atlassian.net/issues/?jql=filter+%3D+%223.3+RC2+bugs%22+

 

Release Candidate 3:

RC3 bug list: https://openlmis.atlassian.net/issues/?jql=filter+%3D+%223.3+RC3+bugs%22+

 

 

 

Comments

OpenLMIS: the global initiative for powerful LMIS software