You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
1.3 KiB

  1. # Contributing to nd2reader
  2. We welcome feature proposals and improvements to the library from anyone. If you just have an idea, you can open an [issue](https://github.com/rbnvrw/nd2reader/issues) for
  3. discussion, or get in touch with Ruben Verweij. If you already wrote some code or made changes, simply open a pull
  4. request.
  5. ## Running and Writing Tests
  6. Unit tests can be run with the commands `python3.4 test.py` and `python2.7 test.py`. The test finder will automatically locate any tests in the `tests` directory. Test classes
  7. must inherit from `unittest.TestCase` and tests will only be run if the function name starts with `test`. If you've built the Docker image, you can also run unit tests with
  8. `make test` - this will conveniently run tests for all supported versions of Python.
  9. There are also functional tests that work with real ND2s to make sure the code actually works with a wide variety of files. We hope to someday put these into a continuous integration
  10. system so everyone can benefit, but for now, they will just be manually run by the maintainer of this library before merging in any contributions.
  11. ## Contributing Your ND2 files
  12. We always appreciate more ND2s, as they help us find corner cases. Please get in touch using any of the means listed at the top of this page if you'd like to send one in.