wip major changes

This commit is contained in:
Nick Sweeting
2025-12-24 20:09:51 -08:00
parent c1335fed37
commit 1915333b81
450 changed files with 35814 additions and 19015 deletions

29
archivebox/plugins/run_tests.sh Executable file
View File

@@ -0,0 +1,29 @@
#!/bin/bash
# Run all plugin tests
#
# Usage: ./run_tests.sh [plugin_name]
#
# Examples:
# ./run_tests.sh # Run all tests
# ./run_tests.sh captcha2 # Run only captcha2 tests
# ./run_tests.sh chrome_* # Run all chrome tests
set -e
echo "=========================================="
echo "Running ArchiveBox Plugin Tests"
echo "=========================================="
echo ""
if [ -n "$1" ]; then
echo "Running tests for: $1"
python -m pytest "$1"/tests/ -v
else
echo "Running all plugin tests..."
python -m pytest */tests/test_*.py -v
fi
echo ""
echo "=========================================="
echo "Tests Complete"
echo "=========================================="