mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New 'Testing plugins' page, closes #687
This commit is contained in:
parent
74889aa92e
commit
000528192e
6 changed files with 139 additions and 7 deletions
|
|
@ -43,7 +43,7 @@ The next step is to create a virtual environment for your project and use it to
|
|||
|
||||
That last line does most of the work: ``pip install -e`` means "install this package in a way that allows me to edit the source code in place". The ``.[test]`` option means "use the setup.py in this directory and install the optional testing dependencies as well".
|
||||
|
||||
Once you have done this, you can run the Datasette unit tests from inside your ``datasette/`` directory using `pytest <https://docs.pytest.org/en/latest/>`__ like so::
|
||||
Once you have done this, you can run the Datasette unit tests from inside your ``datasette/`` directory using `pytest <https://docs.pytest.org/>`__ like so::
|
||||
|
||||
pytest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue