mesa icon indicating copy to clipboard operation
mesa copied to clipboard

Code coverage and example move

Open quaquel opened this issue 1 year ago • 2 comments

With the move of examples to mesa.examples, we currently don't meet the code coverage target.

I guess the best solution is to explicitly add a test_examples.py to mesa.tests, which tests all examples. Curious what other think.

quaquel avatar Oct 19 '24 07:10 quaquel

We already have such tests! But I guess they stopped working since the examples are now in basic and advanced folders? But now that the models are importable the logic can probably be vastly simplified.

Corvince avatar Oct 19 '24 08:10 Corvince

the current test_examples in mesa.tests is currently explicitly skipped. I'll rewrite the tests given the new structure and make them work again hopefully somewhere this weekend.

quaquel avatar Oct 19 '24 09:10 quaquel