nest-simulator icon indicating copy to clipboard operation
nest-simulator copied to clipboard

Examples and tests without code duplication

Open clinssen opened this issue 3 years ago • 1 comments

Although examples and tests are written with different purposes and audiences in mind, they often share a lot of the same code, for instance for setting up the network and taking recordings. The tests then additionally do some assertions on the recordings, whereas the examples would typically plot them instead.

We should come up with an organisation that prevents code duplication, and allows as many examples (what are now often tests) as possible to be included in the documentation.

clinssen avatar Jan 17 '22 11:01 clinssen

Issue automatically marked stale!

github-actions[bot] avatar Mar 30 '22 08:03 github-actions[bot]

Closing this as it is not an directly actionable issue.

heplesser avatar Nov 25 '22 14:11 heplesser