| 1 |
from brian2 import * |
| 2 |
from brian2.tests.features import * |
| 3 |
from brian2.tests.features.base import * |
| 4 |
from brian2.tests.features.monitors import SpikeMonitorTest, StateMonitorTest |
| 5 |
from brian2.tests.features.input import SpikeGeneratorGroupTest |
| 6 |
|
| 7 |
# Full testing |
| 8 |
print(run_feature_tests().tables_and_exceptions) |
| 9 |
|
| 10 |
# Quick testing |
| 11 |
# print run_feature_tests(configurations=[DefaultConfiguration, |
| 12 |
# NumpyConfiguration], |
| 13 |
# feature_tests=[SpikeGeneratorGroupTest]).tables_and_exceptions |
| 14 |
|
| 15 |
# Specific testing |
| 16 |
#from brian2.tests.features.synapses import SynapsesSTDP, SynapsesPost |
| 17 |
#print run_feature_tests(feature_tests=[SynapsesPost]).tables_and_exceptions |
| 18 |
#print run_feature_tests(feature_tests=[SynapsesPost], |
| 19 |
# configurations=[DefaultConfiguration]).exceptions |