-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_all.sh
executable file
·77 lines (57 loc) · 913 Bytes
/
test_all.sh
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
77
#!/bin/bash
echo "Starting all tests to generate 10 reports for each variant, this will take a while..."
sleep 5
echo Removing current reports folder contents...
rm reports/*
echo Starting plain Javascript test runs...
for _ in {1..10}
do
npm run jest
done
for _ in {1..10}
do
npm run mocha
done
for _ in {1..10}
do
npm run vitest
done
echo Starting Typescript test runs...
for _ in {1..10}
do
npm run ts-jest
done
for _ in {1..10}
do
npm run ts-mocha
done
for _ in {1..10}
do
npm run ts-vitest
done
echo Starting Javascript React test runs...
for _ in {1..10}
do
npm run jsx-jest
done
for _ in {1..10}
do
npm run jsx-mocha
done
for _ in {1..10}
do
npm run jsx-vitest
done
echo Starting Typescript React test runs...
for _ in {1..10}
do
npm run tsx-jest
done
for _ in {1..10}
do
npm run tsx-mocha
done
for _ in {1..10}
do
npm run tsx-vitest
done