From 808b6d16e9c0f28e0b5b5123b45ea1d33242594b Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Mon, 12 Feb 2018 17:15:14 +0100 Subject: [PATCH] @cosmetic added junit transformer --- .circleci/config.yml | 1 + .circleci/nunit3-junit.xslt | 69 +++++++++++++++++++++++++++++++++++++ test.sh | 2 +- 3 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 .circleci/nunit3-junit.xslt diff --git a/.circleci/config.yml b/.circleci/config.yml index c53e55f22..37c1a9f06 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -10,6 +10,7 @@ jobs: - run: name: Build command: ./build.sh + - run: mkdir _tests/reports - run: name: Testing command: ./test.sh Linux Unit diff --git a/.circleci/nunit3-junit.xslt b/.circleci/nunit3-junit.xslt new file mode 100644 index 000000000..08e046ab8 --- /dev/null +++ b/.circleci/nunit3-junit.xslt @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test.sh b/test.sh index 196b0407b..d73b79c84 100755 --- a/test.sh +++ b/test.sh @@ -11,7 +11,7 @@ fi NUNIT="$TEST_DIR/NUnit.ConsoleRunner.3.2.1/tools/nunit3-console.exe" NUNIT_COMMAND="$NUNIT" -NUNIT_PARAMS="--result=$TEST_DIR/reports/results.xml" +NUNIT_PARAMS="--result=$TEST_DIR/reports/results.xml;transform=../.circleci/nunit3-junit.xslt" if [ "$PLATFORM" = "Windows" ]; then WHERE="$WHERE && cat != LINUX"