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

Include a mock library in the core

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Should
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OpenMRS 1.9.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      We need a mock library in the core for the proper unit testing. My favorite is Mockito [0]. We could add PowerMock [1] as well for the ease of mocking static methods e.g. Context.getConceptService().

      [0] http://code.google.com/p/mockito/
      [1] http://code.google.com/p/powermock/

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              raff Rafal Korytkowski
              Reporter:
              raff Rafal Korytkowski
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: