Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5131

Split OrderTest.shouldIsDiscontinued and shouldCheckIfOrderIsActive

    Details

    • Type: Task
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: Core 2.2.0
    • Fix Version/s: Core 2.2.0
    • Component/s: None
    • Complexity:
      Low

      Description

      tests in OrderTest

      • shouldIsDiscontinued
      • shouldCheckIfOrderIsActive

      test many different cases in one test. These cases should be tested independently and thus split into separate tests. See if the dateformat ymd can be moved to a static variable instead of instantiating a new object in every test. Also look if tests can be simplified if the order is setup in a junit before method setUp.

        Attachments

          Activity

            People

            • Assignee:
              meenakshi Meenakshi Dhanani
              Reporter:
              teleivo Ivo Ulrich
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: