Comments (5)
http://stackoverflow.com/a/12579625
from memote.
The principle of test ordering is explained here: http://pytest-incremental.readthedocs.io/runner.html#how-to-order-tests
But of course we'd like to set the test-dependencies ourselves, instead of basing them on the import graphs, like said plugin.
Here is an example, of a hypothetical 'Test Pathway':
a) The model's biomass reaction is functional.
Model > Test Biomass Production > Pass > Termination of this Pathway
b) The model's biomass reaction is incomplete.
Mode > Test Biomass Production > Fail > Test Production of Biomass Precursors in Default Condition > Fail > Test Production of Biomass Precursors with all exchanges opened > Pass > Termination of this Pathway
I see the following benefits of 'Test Pathways':
- Shorter testing time for models that are well curated.
- Adaptive output that highlights a model's problem areas without spamming 'irrelevant' test results.
from memote.
I have to think more about test dependencies since it goes against general testing practices. General consensus is to test everything all the time but then again this is a very specialized case. We might want to test everything all the time, though, such that the data is generated and complete even for failing cases.
from memote.
I know we've talked about how it is better to just record all tests results no matter what, but just to provide closure to the discussion I saw that it is indeed possible to do that for which the issue was created:
incremental testing - test steps
Sometimes you may have a testing situation which consists of a series of test steps. If one step fails it makes no sense to execute further steps as they are all expected to fail anyway and their tracebacks add no insight. Here is a simple conftest.py file which introduces an incremental marker which is to be used on classes[.]
https://docs.pytest.org/en/latest/example/simple.html
from memote.
Final agreement that test suite is fast enough and we need to run tests for result generation.
from memote.
Related Issues (20)
- getting the overall score of a benchmark suite test HOT 2
- Failing in Sitoichiometric Inconsistency Test HOT 4
- Docker Image opencobra/memote:0.13.0 HOT 2
- Convert json output to tsv? HOT 2
- Anaconda Python 3.8 has an error using MEMOTE. HOT 5
- expired certificate HOT 2
- Speed Issue for Large Models HOT 9
- WorkerLostError: Worker exited prematurely: signal 9 (SIGKILL) Job: 194. HOT 1
- Report error: html file can not be generated HOT 9
- I can not upload a model to memote web site HOT 4
- Issue installing memote HOT 2
- Running memote HOT 1
- Memote under-estimates stoichiometric consistency HOT 4
- Does MEMOTE no longer have a website? HOT 3
- MEMOTE throws error when writing html HOT 2
- Which version of depinfo is required? HOT 4
- Generalize Metabolite IDs in test_detect_energy_generating_cycles HOT 2
- Unbounded Flux In Default Medium-error HOT 10
- MEMOTE throws git errors HOT 3
- Memote Git error HOT 5
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 memote.