Have you seen this wiki page?
https://wiki.openmrs.org/display/docs/Unit+Tests

And since this is a non-annotated controller, the example tests/classes you
should look at are ProgramFormControllerTest or UserFormControllerTest.
(Use control-shift-t in eclipse to find those files quickly)

Ben

On Fri, Mar 16, 2012 at 6:07 AM, Harsha Siriwardena <[email protected]>wrote:

> hi Devs,
>
> I am working on TRUNK-2751 <https://tickets.openmrs.org/browse/TRUNK-2751>Bug 
> Ticket and need to write Unit Test cases for the ticket.
> I have solved most of the problems myself and now stuck with writing test
> cases. I have no proper idea where to start writing the Test Case. but have
> to set up the request object with the right parameters to test. Please
> anyone willing to tell me the directions on how to make that?
>
> Thanks lot
>
> Regards,
> harshadura
>
> ------------------------------
> Click here to 
> unsubscribe<[email protected]?body=SIGNOFF%20openmrs-devel-l>from 
> OpenMRS Developers' mailing list

_________________________________________

To unsubscribe from OpenMRS Developers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-devel-l" in the  body (not 
the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-devel-l]

Reply via email to