BlueBrain / nmodl

Code Generation Framework For NEURON MODeling Language
https://bluebrain.github.io/nmodl/
Apache License 2.0
48 stars 15 forks source link

Make usecases runnable under pytest #1301

Closed JCGoran closed 2 weeks ago

JCGoran commented 1 month ago

This is based on #1294 so I don't need to solve future merge conflicts.

To outline how it works:

bbpbuildbot commented 1 month ago

Logfiles from GitLab pipeline #215181 (:white_check_mark:) have been uploaded here!

Status and direct links:

1uc commented 2 weeks ago

As discussed offline, the simplicity of simply having a mod file and an associated script is valuable because it mixes well with many important debugging tools. It also allows the usecases to double as examples. Finally, we often test that things are in the correct global state, before running "init". Therefore, we need to run tests in separate processes.