Difference between revisions of "Manual Tests"
From OpenEMR Project Wiki
Matthew Vita (talk | contribs) |
Matthew Vita (talk | contribs) |
||
Line 4: | Line 4: | ||
Note that unit tests are being introduced in the code base to cover the more fine-grained functionality. | Note that unit tests are being introduced in the code base to cover the more fine-grained functionality. | ||
== Philosophy & Approach == | == Philosophy & Approach == |
Revision as of 02:30, 1 August 2016
Objective
In order to verify that code changes pass certification tests, contributors must execute the relevant test cases via the test mapping document. This document is currently being built up (http://open-emr.org/wiki/index.php/Manual_Tests) and will live in openemr/Tests/certification_tests.md.
Note that unit tests are being introduced in the code base to cover the more fine-grained functionality.
Philosophy & Approach
- Keep tests elegant and within appropriate boundaries.
- Test cases should cover realistic happy paths and negative paths.
- Tests cases are to be ran serially inside of a suite (open for feedback).
- It is acceptable to have the tester query the database when the UI can't satisfy an assertion.
- Each test case is simply a markdown table with columns "Step Number", "Description", and "Expectation".
- Assume that the tester that runs the test is familiar with the system and terms.
Test Execution
Let's keep this _dead simple_. When the manual tests are ran before each release, the following table (which is mocked up for now) will represent testers, assigned test suites, and execution status. If a suite has a FAILED status, tester is responsible for submitting a bug and keeping an eye out for a fix so the suite can be re-ran.
Tester | Suite | Status |
---|---|---|
John Doe | Facility Registration | IN PROGRESS |
Sue Bob | Patient Demographics | PASSED |
Sue Bob | Patient Scheduling | FAILED |
and... | so... | on... |
Links/Resources
- Target browser for test: Firefox 40+ (we don't have to be too precise with this)
- Project thread https://sourceforge.net/p/openemr/discussion/202506/thread/5f706dff/