nengo-1.4 icon indicating copy to clipboard operation
nengo-1.4 copied to clipboard

Make unit tests for scriptgen

Open naruyan opened this issue 12 years ago • 3 comments

We need some tests to make test out all the features of script generation and make sure they are generating an equivalent network.

naruyan avatar Nov 06 '12 22:11 naruyan

There are some python unit tests shaping up in

simulator-ui/src/python/test/test_logging.py

On Tue, Nov 6, 2012 at 5:41 PM, Jonathan Lai [email protected]:

We need some tests to make test out all the features of script generation and make sure they are generating an equivalent network.

— Reply to this email directly or view it on GitHubhttps://github.com/ctn-waterloo/nengo/issues/265.

jaberg avatar Nov 06 '12 22:11 jaberg

I think I can get the new Maven branch to run these tests automatically. Do you have plans to annotate tests as being unit, integration, or functional tests? I'd like to be able to run them as part of the rest of the unit tests during typical build, and I need to know how to avoid selecting slow tests.

Also, I assume the tests need to be run in jython?

codemercenary avatar Dec 21 '12 18:12 codemercenary

I agree, we should use @Categories annotations to separate our tests into unit, integration, and functional tests.

tbekolay avatar Dec 23 '12 20:12 tbekolay