forked from DefectDojo/django-DefectDojo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
local-integration-tests.bat
76 lines (58 loc) · 2.1 KB
/
local-integration-tests.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
set DD_ADMIN_USER=admin
set DD_ADMIN_PASSWORD=admin
set DD_BASE_URL=http://localhost:8080/
echo "Running Product type integration tests"
python tests/product_type_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Product integration tests"
python tests/product_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Endpoint integration tests"
python tests/endpoint_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Engagement integration tests"
python tests/engagement_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Environment integration tests"
python tests/environment_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Finding integration tests"
python tests/finding_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Test integration tests"
python tests/test_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running User integration tests"
python tests/user_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Ibm Appscan integration test"
python tests/ibm_appscan_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Search integration test"
python tests/search_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Dedupe integration tests"
python tests/dedupe_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Report Builder integration tests"
python tests/report_builder_test.py
if %ERRORLEVEL% NEQ 0 GOTO END
echo "Running Check Various Pages integration test"
python tests/check_various_pages.py
if %ERRORLEVEL% NEQ 0 GOTO END
REM REM The below tests are commented out because they are still an unstable work in progress
REM REM Once Ready they can be uncommented.
REM REM echo "Running Import Scanner integration test"
rem rem python tests/import_scanner_test.py
REM REM echo "Success: Import Scanner integration tests passed"
REM REM else
REM REM echo "Error: Import Scanner integration test failed"; exit 1
REM REM fi
REM REM echo "Running Zap integration test"
REM REM python tests/zap.py
REM REM echo "Success: zap integration tests passed"
REM REM else
REM REM echo "Error: Zap integration test failed"; exit 1
REM REM fi
REM echo "Done Running all configured integration tests."
:END