Stream: crucible
Topic: embedding test results to a web page
Bünyamin Sarıgül (Mar 10 2017 at 12:57):
It would be great to have an API for embedding the interactive test results from the projectcrucible.org to our web page. Do you have any plans on that?
Grahame Grieve (Mar 12 2017 at 03:33):
that would be the TestReport resource, but I don't know what crucible's plans for supporting it are
Jason Walonoski (Mar 15 2017 at 20:52):
Each test result in Crucible has a permalink. For example, https://projectcrucible.org/servers/5543de8a6d6d319267000000#58c69b7d63727561c1000000/readtest/R001
Jason Walonoski (Mar 15 2017 at 20:53):
You can copy the test result to a clipboard using the Test Result Permalink
link in the test result details window.
Bünyamin Sarıgül (Mar 16 2017 at 06:42):
@Jason Walonoski thank you for your response. However, I didn't mean redirecting the user to the results of our server in projectcrucible.org but showing the detailed results in our own views. Maybe if you can provide a TestResource, like @Grahame Grieve said, it would be useful for us to show the details of tests in our web page.
Jason Walonoski (Mar 20 2017 at 17:31):
If you are running locally on the command-line you can use the plan_executor
to execute TestScript
resources and get TestReport
resources in response. See https://github.com/fhir-crucible/plan_executor/blob/master/lib/tasks/tasks.rake#L66
Jason Walonoski (Mar 20 2017 at 17:32):
Currently there is no way to access these via our public instance.
Last updated: Apr 12 2022 at 19:14 UTC