OverviewHistoryStatsSecurity
npx skills add ...
Documentation
SKILL.md
npx skills add microsoft/semantic-link-labs --skill run-tests
Guide for running pytest tests locally. Use this when running tests to verify code changes.
npx skills add microsoft/semantic-link-labs --skill run-tests
This skill covers running pytest tests for the Semantic Link Labs project.
Use this skill when you need to:
| Component | Details |
|---|---|
| Framework | pytest |
| Location | tests/ directory |
| Configuration | pyproject.toml |
Create conda environment from environment.yml:
pytest automatically discovers tests in:
test_*.py or *_test.pytest_*Test*The -s flag captures stdout:
The project uses GitHub Actions for CI. See .github/workflows/build.yaml:
Before committing code changes:
If tests fail with import errors:
If tests fail with missing package:
If tests behave unexpectedly: