Comments (6)
See this stackoverflow article for pointers:
https://stackoverflow.com/questions/2188376/how-to-have-gnu-make-explicitly-test-for-failure
from nmdc-schema.
Yes. That was going to be my approach.
from nmdc-schema.
in addition to prefixing the negative tests with "invalid_", can we also put them in an invalid
subdirectory?
from nmdc-schema.
in addition to prefixing the negative tests with "invalid_", can we also put them in an invalid subdirectory?
I'd prefer not.
from nmdc-schema.
Are you thinking of breaking up
Lines 152 to 166 in 0549185
into something like this
# datasets used test/validate the schema
SHEMA_TEST_EXAMPLES := \
biosample_test \
gold_project_test \
img_mg_annotation_objects ...
INVALID_SHEMA_TEST_EXAMPLES := \
invalid_study_test \
invalid_funct_ano_ids_test ...
.PHONY: test-jsonschema ...
.PHONY: invalid_test-jsonschema ...
And using the same general recipe for test-jsonschema
and invalid_test-jsonschema
, but applying the !
or -
negation to invalid_test-jsonschema
?
from nmdc-schema.
@turbomam I think @sujaypatil96 fixed this :)
Closing ticket. Reopen if needed.
from nmdc-schema.
Related Issues (20)
- Map 1:1 Database slots to PlannedProcess subclasses with depth of 1 HOT 1
- generate reports of all observed MIxS environmental triad slot values, within a given context HOT 1
- `Extraction` class lacks a constraint that indicates its expected usage
- reassess temporal modeling esp. for WorkflowChain HOT 1
- standardize quotation marks in schema and example data files HOT 2
- `berkeley-schema-fy24`: Make migrator that removes `MetagenomeAnnotation.gold_analysis_project_identifiers` field HOT 2
- backmerge issue with ID mention pattern constraints on WorkflowExecution HOT 3
- `berkeley-schema-fy24`: Implement migrator that adds `replaces` field to `WorkflowChain` documents HOT 1
- `berkeley-schema-fy24`: Delete obsolete code, including code obsoleted by Berkeley schema changes
- write a notebook report class.slot paths that take a ControlledTermValue* range
- Remodel class that aggregates steps of `WorkflowExecution` for easier schema traversal HOT 1
- `has_input`, `has_output`, and `has_process_parts` slots on `ProtocolExecution` need pattern constraints
- Facilitate access to `nmdc_materialized_patterns` schema via PyPI package HOT 1
- Delete Class WorkflowChain in Berkeley schema HOT 1
- `berkeley-schema-fy24`: Implement super migrator that runs all partial migrators in correct order HOT 1
- Find a home for these comments taken from `src/scripts/report_biosamples_per_study.py`
- check if classes associated with `alternative_identifiers` can use ANY `alternative_identifiers` HOT 5
- Migrations: Make it easier to test migrators against a Mongo database
- `berkeley-schema-fy24`: Update migrators to account for `WorkflowChain` class being removed
- make schema release v10.5.4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmdc-schema.