-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtests-odata.sh
74 lines (61 loc) · 3.44 KB
/
tests-odata.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
#!/bin/bash
set -ex
rm -r ./tests || true
#MySql OData
dotnet new nrsrx-odata -n My.NRSRx1.OData -L Elasticsearch -D MySql -o ./tests/My.NRSRx1.OData --force
dotnet build ./tests/My.NRSRx1.OData
dotnet new nrsrx-odata -n My.NRSRx2.OData -L Splunk -D MySql -o ./tests/My.NRSRx2.OData --force
dotnet build ./tests/My.NRSRx2.OData
dotnet new nrsrx-odata -n My.NRSRx3.OData -L ApplicationInsights -D MySql -o ./tests/My.NRSRx3.OData --force
dotnet build ./tests/My.NRSRx3.OData
#MsSql OData
dotnet new nrsrx-odata -n My.NRSRx4.OData -L Elasticsearch -D MsSql -o ./tests/My.NRSRx4.OData --force
dotnet build ./tests/My.NRSRx4.OData
dotnet new nrsrx-odata -n My.NRSRx5.OData -L Splunk -D MsSql -o ./tests/My.NRSRx5.OData --force
dotnet build ./tests/My.NRSRx5.OData
dotnet new nrsrx-odata -n My.NRSRx6.OData -L ApplicationInsights -D MsSql -o ./tests/My.NRSRx6.OData --force
dotnet build ./tests/My.NRSRx6.OData
#MySql OData Tests
dotnet new nrsrx-odata-tests -n My.NRSRx1.OData.Tests -o ./tests/My.NRSRx1.OData.Tests -D MySql --force
dotnet build ./tests/My.NRSRx1.OData.Tests
dotnet test ./tests/My.NRSRx1.OData.Tests \
--filter TestCategory=Unigration \
--collect "XPlat Code Coverage" \
--logger "html;LogFileName=unit-test-results.html" \
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,opencover
dotnet new nrsrx-odata-tests -n My.NRSRx2.OData.Tests -o ./tests/My.NRSRx2.OData.Tests -D MySql --force
dotnet build ./tests/My.NRSRx2.OData.Tests
dotnet test ./tests/My.NRSRx2.OData.Tests \
--filter TestCategory=Unigration \
--collect "XPlat Code Coverage" \
--logger "html;LogFileName=unit-test-results.html" \
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,opencover
dotnet new nrsrx-odata-tests -n My.NRSRx3.OData.Tests -o ./tests/My.NRSRx3.OData.Tests -D MySql --force
dotnet build ./tests/My.NRSRx3.OData.Tests
dotnet test ./tests/My.NRSRx3.OData.Tests \
--filter TestCategory=Unigration \
--collect "XPlat Code Coverage" \
--logger "html;LogFileName=unit-test-results.html" \
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,opencover
#MsSql OData Tests
dotnet new nrsrx-odata-tests -n My.NRSRx4.OData.Tests -o ./tests/My.NRSRx4.OData.Tests --force
dotnet build ./tests/My.NRSRx4.OData.Tests
dotnet test ./tests/My.NRSRx4.OData.Tests \
--filter TestCategory=Unigration \
--collect "XPlat Code Coverage" \
--logger "html;LogFileName=unit-test-results.html" \
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,opencover
dotnet new nrsrx-odata-tests -n My.NRSRx5.OData.Tests -o ./tests/My.NRSRx5.OData.Tests --force
dotnet build ./tests/My.NRSRx5.OData.Tests
dotnet test ./tests/My.NRSRx5.OData.Tests \
--filter TestCategory=Unigration \
--collect "XPlat Code Coverage" \
--logger "html;LogFileName=unit-test-results.html" \
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,opencover
dotnet new nrsrx-odata-tests -n My.NRSRx6.OData.Tests -o ./tests/My.NRSRx6.OData.Tests --force
dotnet build ./tests/My.NRSRx6.OData.Tests
dotnet test ./tests/My.NRSRx6.OData.Tests \
--filter TestCategory=Unigration \
--collect "XPlat Code Coverage" \
--logger "html;LogFileName=unit-test-results.html" \
-- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=json,cobertura,lcov,opencover