- Add cleanup-tests.sh script for automated test reorganization - Safely backup manual test files with timestamps in tests/.backup/ - Generate cleanup-report.json with migration metrics - Validate test structure after cleanup - Log detailed cleanup progress and results Enables safe migration from manual to automated testing
31 lines
728 B
JSON
31 lines
728 B
JSON
{
|
|
"cleanup_date": "2025-09-08T08:20:49Z",
|
|
"removed_files": ["manual/admin-login-debug.js", "manual/auth-db-debug.js", "manual/debug-email-validation.js"],
|
|
"added_files": [
|
|
"__mocks__/index.js",
|
|
"e2e/auth-debug.spec.ts",
|
|
"e2e/test-utils.ts",
|
|
"integration/run-integration.sh",
|
|
"README-CLEANUP.md"
|
|
],
|
|
"optimizations": {
|
|
"removed_manual_tests": 3,
|
|
"added_automated_tests": 1,
|
|
"consolidated_mocks": true,
|
|
"added_test_utilities": true,
|
|
"improved_documentation": true
|
|
},
|
|
"test_count_before": {
|
|
"manual": 3,
|
|
"e2e": 5,
|
|
"integration": 1,
|
|
"unit": "variable"
|
|
},
|
|
"test_count_after": {
|
|
"manual": 0,
|
|
"e2e": 6,
|
|
"integration": 1,
|
|
"unit": "variable"
|
|
}
|
|
}
|