Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 810 Bytes

testing.rst

File metadata and controls

36 lines (22 loc) · 810 Bytes

Jedi Testing

The test suite depends on pytest:

pip install pytest

If you want to test only a specific Python version (e.g. Python 3.8), it is as easy as:

python3.8 -m pytest

Tests are also run automatically on GitHub Actions.

You want to add a test for ? Great! We love that. Normally you should write your tests as Blackbox Tests <blackbox>. Most tests would fit right in there.

For specific API testing we're using simple unit tests, with a focus on a simple and readable testing structure.

Integration Tests (run.py)

test.run

Refactoring Tests (refactor.py)

test.refactor