Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #641 was successful Changes by Daniel Kayiwa

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Build result summary

Details

Completed
Duration
5 minutes
Labels
None
Revisions
openmrs-module-webservices.rest
96b9aefbebefcdb88cb74d49dd52322256f744f7 96b9aefbebefcdb88cb74d49dd52322256f744f7
Release scripts
1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa 1aad5c8d3a6400ade338d1ee1b9fd6d34fe773fa
Total tests
1314
Successful since
#616 ()

Tests

Code commits

openmrs-module-webservices.rest
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 96b9aefbebefcdb88cb74d49dd52322256f744f7 96b9aefbebefcdb88cb74d49dd52322256f744f7 Merge pull request #245 from teleivo/RESTWS-623
RESTWS-623 Make RestServiceImpl.getResourceByName testable
teleivo <mrteleivo@gmail.com> teleivo <mrteleivo@gmail.com> a95bbac678b7d7fbba9112dfac9548edeb7c870f m a95bbac678b7d7fbba9112dfac9548edeb7c870f RESTWS-623 Make RestServiceImpl.getResourceByName testable
* add dependency for OpenmrsClassScanner to RestServiceImpl and inject via xml
using the factory method on OpenmrsClassScanner.getInstance() which returns the
singleton instance
* add helper method to RestServiceImplTest to set the current openmrs
version for tests
* add fake/test package in omod-common/src/test/java/org/mockingbird/test/rest/resource
with fake Resource/SubResources for testing purposes so they do not
influence other tests since classes on org.openmrs classpath get loaded
by OpenmrsClassScanner
* add tests for getResourceByName by mocking the
OpenmrsClassScanner.getClasses

Jira issues

IssueDescriptionStatus
Unknown Issue TypeRESTWS-623Could not obtain issue details from Jira