bendalab / thunderfish

python scripts for analyzing recordings of efish electric fields.
GNU General Public License v3.0
5 stars 8 forks source link

Write tests #6

Closed fabiansinz closed 4 years ago

fabiansinz commented 8 years ago

Write unit tests to ensure everything is running smoothly. I'd use nosetest for that. I can also help you to hook that up to travis so tests are automatically run whenever a pull request is sent.

jgrewe commented 8 years ago

@fabiansinz would you mind to create the basic infrastructure for the unit tests?

fabiansinz commented 8 years ago

No problem. @jfsehuanes shall I restructure the folders or do you want to do that when writing the setup? In the latter case, I'd wait until your done. I propose the following structure

thunderfish/
  setup.py
  thunderfish/
     __init__.py
     ...
  tests/
  doc/
janscience commented 4 years ago

we have tests.