Skip to content

Commit cb34671

Browse files
committed
Merge branch 'main' into navset_docs_names
* main: Consolidate all testing into `tests/` folder (#683)
2 parents 30f7336 + 196f4cd commit cb34671

File tree

73 files changed

+18
-15
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+18
-15
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ check: ## check code quality with black and isort
7777
isort --check-only --diff .
7878

7979
test: ## run tests quickly with the default Python
80-
python3 tests/asyncio_prevent.py
81-
pytest tests
80+
python3 tests/pytest/asyncio_prevent.py
81+
pytest
8282

8383
# Default `FILE` to `e2e` if not specified
84-
FILE:=e2e
84+
FILE:=tests/e2e
8585

8686
e2e: ## end-to-end tests with playwright
8787
playwright install --with-deps

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[pytest]
22
asyncio_mode=strict
3-
testpaths=tests
3+
testpaths=tests/pytest/
44
addopts = --strict-markers --durations=6 --durations-min=5.0 --browser webkit --browser firefox --browser chromium --numprocesses auto
55
markers =
66
examples: Suite of tests to validate that examples do not produce errors (deselect with '-m "not examples"')

tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
"""Unit test package for shiny."""
1+
"""Testing package for shiny. (Used by pytest)"""
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)