File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -10,3 +10,6 @@ doc/api/
10
10
11
11
# JetBrains IDEs
12
12
.idea /
13
+
14
+ # Directory created by w_test_tools to hold test reports
15
+ test-reports /
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -ex
3
+
4
+ RESULT=0
5
+
6
+ filename=" test-reports/test_output"
7
+
8
+ dart pub get
9
+
10
+ dart test --file-reporter=json:$filename .json || RESULT=1
11
+
12
+ dart pub global run w_test_tools:xunit_parser -j " $filename .json" -t " $filename .xml"
13
+
14
+ rm " $filename .json"
15
+
16
+ exit $RESULT
Original file line number Diff line number Diff line change
1
+ name : unit-tests
2
+ description : Unit tests
3
+ contact : ' Frontend Frameworks Architecture / #support-frontend-architecture'
4
+ image : drydock.workiva.net/workiva/dart_unit_test_image:1
5
+ size : large
6
+ timeout : 600
7
+
8
+ artifacts : /testing/test-reports
9
+ test-reports : /testing/test-reports
10
+
11
+ scripts :
12
+ - /testing/run_tests.sh
You can’t perform that action at this time.
0 commit comments