Skip to content

Add (some) pynn tests

Eleni Mathioulaki requested to merge add-pynn-tests into master

Hi @adavison, I think it makes sense to have some tests for PyNN even if the neuron tests (see !328 (closed)) don't work yet - some tests are better than no tests, and all the rest seem to pass:

============================= test session starts ==============================
platform linux -- Python 3.8.11, pytest-7.1.3, pluggy-1.0.0
rootdir: /tmp/spack/spack-stage/spack-stage-py-pynn-0.11.0-dc6ti23qlo4qo2v6puxuan3otrcs6pns/spack-src
collected 688 items / 63 deselected / 625 selected

test/system/test_brian2.py ...                                           [  0%]
test/system/test_hardware_brainscales.py ssssss                          [  1%]
test/system/test_nest.py ............                                    [  3%]
test/system/test_neuroml.py s                                            [  3%]
test/system/test_neuron.py sssss                                         [  4%]
test/system/test_serialization.py .                                      [  4%]
test/system/scenarios/test__simulation_control.py ..........             [  6%]
test/system/scenarios/test_cell_types.py ..............                  [  8%]
test/system/scenarios/test_connection_handling.py .......                [  9%]
test/system/scenarios/test_connectors.py ...................             [ 12%]
test/system/scenarios/test_electrodes.py ............................    [ 16%]
test/system/scenarios/test_issue231.py ..                                [ 17%]
test/system/scenarios/test_issue274.py ..                                [ 17%]
test/system/scenarios/test_parameter_handling.py ............            [ 19%]
test/system/scenarios/test_procedural_api.py ..                          [ 19%]
test/system/scenarios/test_recording.py ..........                       [ 21%]
test/system/scenarios/test_scenario1.py ....                             [ 22%]
test/system/scenarios/test_scenario2.py ..                               [ 22%]
test/system/scenarios/test_scenario3.py .                                [ 22%]
test/system/scenarios/test_scenario4.py .                                [ 22%]
test/system/scenarios/test_synapse_types.py .                            [ 22%]
test/system/scenarios/test_ticket166.py ..                               [ 23%]
test/unittests/test_assembly.py ........................................ [ 29%]
........                                                                 [ 30%]
test/unittests/test_brian.py .....                                       [ 31%]
test/unittests/test_connectors_parallel.py ....s..s..................... [ 36%]
..................                                                       [ 39%]
test/unittests/test_connectors_serial.py ....s..s....................... [ 44%]
...........                                                              [ 45%]
test/unittests/test_core.py ......                                       [ 46%]
test/unittests/test_descriptions.py ss........                           [ 48%]
test/unittests/test_files.py .......                                     [ 49%]
test/unittests/test_idmixin.py .........                                 [ 51%]
test/unittests/test_lowlevelapi.py .....                                 [ 51%]
test/unittests/test_nest.py ..................                           [ 54%]
test/unittests/test_neuron.py ...............................            [ 59%]
test/unittests/test_parameters.py ...................................... [ 65%]
.....                                                                    [ 66%]
test/unittests/test_population.py ...................................... [ 72%]
.......................                                                  [ 76%]
test/unittests/test_populationview.py .................................. [ 81%]
..............                                                           [ 84%]
test/unittests/test_projection.py .......................                [ 87%]
test/unittests/test_random.py ..................                         [ 90%]
test/unittests/test_recording.py ......                                  [ 91%]
test/unittests/test_simulation_control.py .............                  [ 93%]
test/unittests/test_space.py ..................                          [ 96%]
test/unittests/test_standardmodels.py ................                   [ 99%]
test/unittests/test_utility_functions.py ......                          [100%]

Merge request reports