Uploaded image for project: 'Google Code-in'
  1. Google Code-in
  2. GCI-112

Write Junit test for OWARestController of Open Web App module

    XMLWordPrintable

    Details

    • Complexity:
      Medium
    • Development:

      Description

      Refer another test : https://github.com/openmrs/openmrs-module-webservices.rest/blob/master/omod-1.8/src/test/java/org/openmrs/module/webservices/rest/web/v1_0/controller/openmrs1_8/UserController1_8Test.java

      Rules to complete the task:
      0) You will need OpenMRS running either through standalone or developer version.
      1) Download/clone Open web app module's code from the link - https://github.com/sunbiz/openmrs-module-owa
      2) New test class should be added here - https://github.com/sunbiz/openmrs-module-owa/tree/master/omod/src/test/java/org/openmrs/module/owa/web/controller
      3) Test class should have tests for all the four rest calls mentioned in OWARestController - https://github.com/sunbiz/openmrs-module-owa/blob/master/omod/src/main/java/org/openmrs/module/owa/web/controller/OwaRestController.java
      3) All tests should compile.
      4) Make a github pull request.

      Any questions about this specific task should be asked by commenting on this JIRA issue.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              n.nehete Namrata Nehete
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: