Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.04 KB

README.md

File metadata and controls

30 lines (23 loc) · 1.04 KB

pycontest

A collection of exercises for Pycon 2019 tutorial To trust or to test?: Automated testing of scientific projects with pytest

  • You can find slides from the presentation here
  • You can find full video from the PyCon 2019 conference here

Dependencies:

Tutorial requires Python 3.6, Matplotlib 3.0, Scipy, Numpy, Pytest and Hypothesis. To create example animations you may need ffmpeg or mencoder packages.

Troubleshooting:

  • to install the tutorial example code:

    $ pip install .
    
  • to run the tutorial example code without installation:

    $ python -m pycontest.simulation
    
  • in case you have more than one python distribution you may need to specify python version to pytest:

    $ python3 -m pytest tests