|
Sakai Test-Harness: Unit Test Providers: msg#00733cms.sakai.devel
Hello, I wanted to check if anybody has used the Test-Harness to Unit test their custom provider implementations. We created an ucd-enterprise- data-service that provides a DAO layer for our SIS. This service is accessed by our custom providers. We are successfully unit testing this service with the help of the Test-Harness. Now we would like to unit test our provider implementation. To do so, this would require to create a bunch of mock objects such as UserEditMock etc. that we cold pass to the provider methods. For now we just test APIs that use primitive types such as "userExits(String userId)" but we would like to test "getUser(UserEdit userEdit)", etc. methods as well. Has anybody done this, and if so, are there such mock objects somewhere? Best, Thomas Amsler Programmer IET Mediaworks, UC Davis tpamsler@xxxxxxxxxxx tamsler@xxxxxxxxxxxxxxxx W: (530) 754-5198 (Mediaworks) W: (530) 757-8331 (PSL) M: (916) 803-2226 [see attachment: "message0.html", size: 3764 bytes] Attachments: message0.html http://collab.sakaiproject.org/access/content/attachment/ccb43c33-c381-4237-80c3-3ef2b792bcbd/message0.html ---------------------- This automatic notification message was sent by Sakai Collab (http://collab.sakaiproject.org/portal) from the DG: Development site. You can modify how you receive notifications at My Workspace > Preferences. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Fedora in Content Hosting - An Alternative: 00733, Ian Boston |
|---|---|
| Next by Date: | Re: Java 5 woes: 00733, Joseph Dane |
| Previous by Thread: | Correct way to check if user is logged in?i: 00733, Zeckoski, Aaron |
| Next by Thread: | Re: Sakai Test-Harness: Unit Test Providers: 00733, Josh Holtzman |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |