Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
2d40e6c
docs(test-helpers) Update to existing modules
tony Feb 27, 2025
e8b5d7a
docs(test-helpers) Add retry page
tony Feb 27, 2025
76326f3
py(deps[dev]) Bump dev packages
tony Feb 27, 2025
1668b45
chore: Add `__init__.py` for tests/examples
tony Feb 27, 2025
fc3dec2
chore: Add `__init__.py` for tests/examples/test
tony Feb 26, 2025
a438f2d
chore: Add `__init__.py` for tests/examples/_internal/waiter
tony Feb 27, 2025
aa260f2
fix(retry): Improve retry_until_extended function with better error m…
tony Feb 26, 2025
10a37e5
feat(waiter): Enhance terminal content waiting utility with fluent AP…
tony Feb 26, 2025
0c74d33
test(waiter): Fix test cases and improve type safety
tony Feb 26, 2025
a10493a
docs(waiter): Add comprehensive documentation for terminal content wa…
tony Feb 26, 2025
6bdbb5c
pyproject(mypy[exceptions]): examples to ignore `no-untyped-def`
tony Feb 26, 2025
d436d75
test: add conftest.py to register example marker
tony Feb 26, 2025
17d2967
refactor(tests[waiter]): Add waiter test examples into individual files
tony Feb 26, 2025
50081b5
docs(CHANGES) Note `Waiter`
tony Feb 27, 2025
db47652
feat(waiter): Add terminal content waiting utility for testing (#582)
tony Feb 27, 2025
9661039
cursor(rules[git-commits]) Use component name first
tony Feb 28, 2025
677aa96
cursor(rules[git-commits]) Standardize further
tony Feb 28, 2025
60d1386
cursor(rules[dev-loop]) Use `--show-fixes` in `ruff check`
tony Feb 28, 2025
9695bdf
tests(test_waiter[capture_pane]): Add resiliency for CI test grid
tony Feb 28, 2025
cf08043
tests(test_waiter[exact_match]): Skip flaky exact match test on tmux …
tony Feb 28, 2025
7db6426
test(waiter): Replace assertions with warning-based checks in detaile…
tony Feb 28, 2025
32422c8
fix: update tests to use waiter functionality and fix imports
tony Feb 27, 2025
ba3fc35
fix: comment out failing test_new_session_shell_env and fix linting i…
tony Feb 27, 2025
ee93ffc
refactor(tests): Replace time.sleep with wait_for_server_condition
tony Feb 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: add conftest.py to register example marker
- Adds a conftest.py file in tests/examples to register the pytest.mark.example marker
- Eliminates pytest warnings about unknown markers in example tests
- Improves test output by removing noise from warnings
  • Loading branch information
tony committed Feb 27, 2025
commit d436d75cc2f35de7e75625b5c2542aebde267002
13 changes: 13 additions & 0 deletions tests/examples/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Pytest configuration for example tests."""

from __future__ import annotations

import pytest # noqa: F401 - Need this import for pytest hooks to work


def pytest_configure(config) -> None:
"""Register custom pytest markers."""
config.addinivalue_line(
"markers",
"example: mark a test as an example that demonstrates how to use the library",
)