mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-15 12:38:03 +00:00
Simplify test scripts and move run_tests_local.sh to scripts/
- Move run_tests_local.sh to scripts/ directory for consistency - Remove explicit test module listing from all test scripts - Let Django auto-discover all tests instead of maintaining explicit lists - Update README.md to reference new script location - Simplify scripts/run_tests_with_coverage.py to use auto-discovery - Reduce maintenance burden by eliminating duplicate test module lists
This commit is contained in:
@@ -13,21 +13,8 @@ export OTEL_ENABLED=true
|
||||
export OTEL_SERVICE_NAME=ivatar-test
|
||||
export OTEL_ENVIRONMENT=test
|
||||
|
||||
# Run Django tests including OpenTelemetry-specific tests
|
||||
python3 manage.py test \
|
||||
ivatar.ivataraccount.test_auth \
|
||||
ivatar.ivataraccount.test_views \
|
||||
ivatar.ivataraccount.test_views_bluesky \
|
||||
ivatar.test_auxiliary \
|
||||
ivatar.test_file_security \
|
||||
ivatar.test_opentelemetry \
|
||||
ivatar.test_static_pages \
|
||||
ivatar.test_utils \
|
||||
ivatar.test_views \
|
||||
ivatar.test_views_stats \
|
||||
ivatar.tools.test_views \
|
||||
ivatar.test_wsgi \
|
||||
-v2
|
||||
# Run Django tests (Django will auto-discover all tests)
|
||||
python3 manage.py test -v2
|
||||
|
||||
echo ""
|
||||
echo "Tests completed successfully (OpenTelemetry enabled)"
|
||||
|
||||
Reference in New Issue
Block a user