mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-07 17:36:29 +00:00
Add virtual environment info to testing (tox) doc (#98)
* Update testing info with virtual environment Being new to python, pip and virtual environments, I tried running `tox` without activating the virtual environment. This should make it a little bit more clear for newcomers. * Update development_testing.md * Update development_testing.md * Update development_testing.md
This commit is contained in:
parent
e91c3d8274
commit
53d3ed9fa1
@ -2,7 +2,12 @@
|
||||
title: "Testing your code"
|
||||
---
|
||||
|
||||
As states in the [Style guidelines section](development_guidelines.md) all code is checked to verify all unit tests pass and that the code passes the linting tools. Local testing is done using Tox, which has been installed as part of running `script/setup`. To start the tests, simply run it:
|
||||
As it states in the [Style guidelines section](development_guidelines.md) all code is checked to verify the following:
|
||||
|
||||
- All the unit tests pass
|
||||
- All code passes the checks from the linting tools
|
||||
|
||||
Local testing is done using Tox, which has been installed as part of running `script/setup` in the [virtual environment](development_environment.md). To start the tests, activate the virtual environment and simply run the command:
|
||||
|
||||
```bash
|
||||
$ tox
|
||||
|
Loading…
x
Reference in New Issue
Block a user