running tests

Run tests to ensure code functionality and correctness.

majiayu000 9940f38 2 files · 1.1 KB Updated 567 repo stars

File contents

Running Tests

  • DO NOT RUN ALL TESTS AT ONCE UNLESS EXPLICITLY INSTRUCTED TO DO SO.

  • Prefer running only the tests relevant to the code you have modified or added.

  • Use pytest to run tests from the repository root, for example:

    pytest nimare/tests/test_annotate_gclda.py::test_gclda_symmetric
    
  • For a slightly broader check without performance-heavy tests, mirror the Makefile behavior:

    pytest -m "not performance_estimators and not performance_correctors and not performance_smoke and not cbmr_importerror" --cov=nimare nimare
    
  • Run tests before and after significant refactors or API changes to confirm behavior is preserved.

majiayu000/claude-skill-registry-data/tree/main/development/running-tests commit 9940f381e1

Frequently asked questions

npx skillmds add majiayu000/running-tests-2