crs4 / repo2rocrate

Generate a Workflow RO-Crate from a best-practice workflow repository
Apache License 2.0
1 stars 2 forks source link

Add known test directories as `TestDefinition` instances #17

Open simleo opened 2 years ago

simleo commented 2 years ago

E.g.:

{
    "@id": ".tests",
    "@type": ["Dataset", "TestDefinition"],
}

This is useful information even if it's not actionable. We need to relax the "A test definition MUST refer to the test engine it is written for via conformsTo and to the engine’s version via engineVersion" requirement in the spec though.

ilveroluca commented 2 years ago

I can look into this for snakemake

simleo commented 1 year ago

We must make sure that LM is prepared for these changes before we start building these "new" crates.

I'm also wondering whether we need a "composite dataset" for the general case where tests for a workflow might consist of a mix of files and directories. In this case, though, I think we can avoid that complication by simply specifying that definition in TestSuite can point to multiple files / directories.