baccuslab / pyret

Python tools for analysis of neurophysiology data
https://pyret.readthedocs.io/en/master/
MIT License
35 stars 8 forks source link

TESTING #11

Closed bnaecker closed 10 years ago

bnaecker commented 10 years ago

The new version of the pyret package all seems reasonable, but nothing has actually been tested yet. Make sure that it all actually works, and fix what doesn't.

bnaecker commented 10 years ago

All functions in filtertools run without error, but have not tested at all for correctness. Also tested visualizations.ellipse function, which also seems to work fine.

bnaecker commented 10 years ago

Seems like the STE/STA functions work correctly. One issue is that they return things going "forward" in time, so that the time of spike is at the end of the arrays. It makes more sense to me to flip it around, as that's how they're always plotted. Thoughts?

nirum commented 10 years ago
nirum commented 10 years ago

Opinions on using a testing framework?

i.e., http://stackoverflow.com/questions/191673/preferred-python-unit-testing-framework

nirum commented 10 years ago

I'm going to start setting up a test suite using nose (http://nose.readthedocs.org/en/latest/index.html)

Will do this in a new branch and merge changes in

nirum commented 10 years ago

Closing this for now. We can add tests to the tests directory