Stream: tooling
Topic: Inferno to test the Client
Shamil Nizamov (Jul 29 2021 at 15:44):
Can Inferno be used to test the client's app against client's CapabilityStatement? Or what could be the best way to test client's app capabilities/conformance other than validating produced resource instances?
Chris Moesel (Jul 29 2021 at 18:28):
Paging @Robert Scanlon
Robert Scanlon (Jul 29 2021 at 18:29):
Inferno does not currently support client testing.
Robert Scanlon (Jul 29 2021 at 18:46):
Automated client testing is certainly challenging. One option would be to host a FHIR server (or proxy to a server), and then observe the client performing everything that is required of it... perhaps by telling it to follow a thoughtfully crafted script that mimics real use cases, or maybe something more open ended like "show me at least one example of every interaction listed in this CapabilityStatement... e.g. read/search/create for resources types X, Y and Z". But depending on the context, it may require a user to drive the client... therefore time consuming compared to server testing.
Robert Scanlon (Jul 29 2021 at 18:49):
@Reece Adamson may have done some prototyping around this in the context of Inferno, but I don't think what we have is very mature.
Last updated: Apr 12 2022 at 19:14 UTC