To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 7a73db68 authored by vermeul's avatar vermeul
Browse files

Update 18-Testing.md

parent 3cd6b1a0
# Testing
* start with pytest [https://pytest.org/en/latest/](https://pytest.org/en/latest/)
* for Jupyter notebook testing, read this [blog](https://www.blog.pythonlibrary.org/2018/10/16/testing-jupyter-notebooks/)
\ No newline at end of file
* for Jupyter notebook testing, read this [blog](https://www.blog.pythonlibrary.org/2018/10/16/testing-jupyter-notebooks/)
**only run a single test**
```bash
$ pytest tests/test_module.py::test_current_work
```
**run test that match a pattern**
```bash
$ pytest tests/ -k "MyClass and not weird_test"
$ pytest tests/ -k "test_current_work"
```
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment