Unit test case for hapi plain server library using spring boot in java

162 views
Skip to first unread message

Bathar Mayur

unread,
Apr 7, 2021, 7:47:14 AM4/7/21
to HAPI FHIR
Hi 

I want to write unit test cases for my rest APIs which are developed using hapi plain server library. Please provide any tutorial or example to write unit test cases.

Thanks & Regards,
Mayur Bathar

James Agnew

unread,
Apr 7, 2021, 8:56:45 AM4/7/21
to Bathar Mayur, HAPI FHIR
I don't know of any specific tutorials I could point you to for unit testing specifically, but HAPI FHIR itself has pretty extensive tests. A test class like SearchR4Test.java might be an interesting example to start with.

Cheers,
James

--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/f142e404-4a15-405b-aa88-dcb867aa9a24n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages