File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -942,7 +942,6 @@ <h3 id="development-prerequisites">Development prerequisites<a class="headerlink
942942 < a href ="https://github.com/arduino/arduino-lint/blob/main/pyproject.toml "> < code > pyproject.toml</ code > </ a > .</ li >
943943</ ul >
944944</ li >
945- < li > < a href ="https://python-poetry.org/docs/ "> Poetry</ a > .</ li >
946945< li > < a href ="https://nodejs.org/en/download/ "> < strong > Node.js</ strong > / < strong > npm</ strong > </ a > - Node.js dependencies management tool.< ul >
947946< li > The < strong > Node.js</ strong > version in use is defined in the < code > engines.node</ code > field of
948947 < a href ="https://github.com/arduino/arduino-lint/blob/main/package.json "> < code > package.json</ code > </ a > .</ li >
@@ -990,10 +989,11 @@ <h5 id="running-tests">Running tests<a class="headerlink" href="#running-tests"
990989< p > This will automatically install the necessary dependencies, if not already installed, and run the integration tests
991990automatically.</ p >
992991< p > To run specific tests, you must run < code > pytest</ code > from the virtual environment created by Poetry.</ p >
993- < div class ="highlight "> < pre > < span > </ span > < code > poetry run pytest tests/test_all.py::test_report_file
992+ < div class ="highlight "> < pre > < span > </ span > < code > task poetry:install && poetry run pytest tests/test_all.py::test_report_file
994993</ code > </ pre > </ div >
995994< p > You can avoid writing the < code > poetry run</ code > prefix each time by creating a new shell inside the virtual environment:</ p >
996- < div class ="highlight "> < pre > < span > </ span > < code > poetry shell
995+ < div class ="highlight "> < pre > < span > </ span > < code > task poetry:install
996+ poetry shell
997997pytest test_lib.py
998998pytest test_lib.py::test_list
999999</ code > </ pre > </ div >
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments