Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ doc/api/

# JetBrains IDEs
.idea/

# Directory created by w_test_tools to hold test reports
test-reports/
16 changes: 16 additions & 0 deletions run_tests.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash
set -ex

RESULT=0

filename="test-reports/test_output"

dart pub get

dart test --file-reporter=json:$filename.json || RESULT=1

dart pub global run w_test_tools:xunit_parser -j "$filename.json" -t "$filename.xml"

rm "$filename.json"

exit $RESULT
12 changes: 12 additions & 0 deletions skynet.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: unit-tests
description: Unit tests
contact: 'Frontend Frameworks Architecture / #support-frontend-architecture'
image: drydock.workiva.net/workiva/dart_unit_test_image:1
size: large
timeout: 600

artifacts: /testing/test-reports
test-reports: /testing/test-reports

scripts:
- /testing/run_tests.sh