Back to list
wellcomecollection

run-tests

by wellcomecollection

0🍴 1📅 Jan 9, 2026

SKILL.md


name: run-tests description: Run tests for the wc_simd project using pytest. Use this skill to run all tests, specific test files, or individual test functions. Invoke with /run-tests.

Testing

This skill runs tests for the wc_simd project using pytest.

Run All Tests

pytest

Run Specific Test File

pytest tests/test_pyspark.py

Run Specific Test Function

pytest tests/test_pyspark.py::test_function_name

Run with Verbose Output

pytest -v

Run with Coverage

pytest --cov=wc_simd --cov-report=html

Run Only Failed Tests

pytest --lf

Run Tests Matching Pattern

pytest -k "embed"  # Run tests with "embed" in name

Test Files

FileDescription
tests/test_pyspark.pyPySpark integration tests
tests/test_embed.pyEmbedding service tests
tests/test_llm.pyLLM integration tests

Prerequisites

Ensure dependencies are installed:

uv sync

For Spark tests, ensure Docker Spark is running:

cd spark_docker_s3 && docker compose up -d --build

Debugging Tests

# Drop into debugger on failure
pytest --pdb

# Show print statements
pytest -s

# Show local variables on failure
pytest -l

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon