How to run an existing Test¶
Using the FAIR Champion GUI:
https://tools.ostrails.eu/champion/tests/
Search (using the browser text search) for the test you want to execute.
Click “Execute Text” - this will trigger the creation of a form appropriate for that test
Fill-in the form field(s)
Click “Run Test”
Alternatively, if you want to automate many executions, you can:
Use the GUI to find the test (e.g. “fc_data_identifier_in_metadata”)
Right-click on the blue test title and “copy Link” (this is necessary because clicking the link might follow a content-negotiated path to a nice web page, rather than giving you the identifier of the test!)
OR
Use FAIRSharing to find the Metric that interests you
Identify a test on the FAIRSharing page that implements that Metric
Prepare your input, in the format: { “resource_identifier”: “GUID” }
use the code example in the top of that Web page, together with your Test identifier and your input
- curl -H “Content-type: application/json” -H “Accept: application/json”
-d ‘{“resource_identifier”: “https://exampledataset.org”}’ https://tests.ostrails.eu/tests/fc_data_identifier_in_metadata