From debb61e14c60e5d65b7b6d41c10e87ca675bc7cb Mon Sep 17 00:00:00 2001 From: Override-6 Date: Sun, 29 Jan 2023 21:35:54 +0100 Subject: [PATCH] making test outputs cleaner --- JWTEmitter/resources/log4j2.xml | 2 +- build.sc | 3 +++ drone/.drone.yml | 1 + target/test-reports-zio/output.json | 34 ++++++++++++++--------------- 4 files changed, 22 insertions(+), 18 deletions(-) diff --git a/JWTEmitter/resources/log4j2.xml b/JWTEmitter/resources/log4j2.xml index 7dd1a25..a3c068d 100644 --- a/JWTEmitter/resources/log4j2.xml +++ b/JWTEmitter/resources/log4j2.xml @@ -19,7 +19,7 @@ - + diff --git a/build.sc b/build.sc index 696bf5d..2f2a66a 100644 --- a/build.sc +++ b/build.sc @@ -15,6 +15,9 @@ trait ServerModule extends ScalaModule with ScalafmtModule { } trait HttpModule extends ServerModule { + + + override def ivyDeps = super.ivyDeps() ++ Agg( ivy"dev.zio::zio-http:0.0.3", ivy"dev.zio::zio-streams:2.0.6", diff --git a/drone/.drone.yml b/drone/.drone.yml index e38a670..37d14ea 100644 --- a/drone/.drone.yml +++ b/drone/.drone.yml @@ -10,6 +10,7 @@ steps: - name: build path: ./build commands: + - ./mill __.compile - ./mill tests.test # - name: Deploy diff --git a/target/test-reports-zio/output.json b/target/test-reports-zio/output.json index 32b4171..9469bc0 100644 --- a/target/test-reports-zio/output.json +++ b/target/test-reports-zio/output.json @@ -1,25 +1,25 @@ { "results": [ { - "name" : "Test Task name not available here/\/login page handler/login situation tests/login with known account wrong password", + "name" : "Test Task name not available here/\/login page handler/login situation tests/login with unknown account", "status" : "Success", - "durationMillis" : "5030", + "durationMillis" : "4864", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", - "labels" : ["\/login page handler", "login situation tests", "login with known account wrong password"] + "labels" : ["\/login page handler", "login situation tests", "login with unknown account"] }, { - "name" : "Test Task name not available here/\/login page handler/login situation tests/login with unknown account", + "name" : "Test Task name not available here/\/login page handler/login situation tests/login with known account wrong password", "status" : "Success", - "durationMillis" : "5077", + "durationMillis" : "4888", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", - "labels" : ["\/login page handler", "login situation tests", "login with unknown account"] + "labels" : ["\/login page handler", "login situation tests", "login with known account wrong password"] }, { "name" : "Test Task name not available here/\/login page handler/login situation tests/login with known account", "status" : "Success", - "durationMillis" : "6398", + "durationMillis" : "6001", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", "labels" : ["\/login page handler", "login situation tests", "login with known account"] @@ -27,34 +27,34 @@ { "name" : "Test Task name not available here/\/login page handler/erroned request body tests/with no password attribute", "status" : "Success", - "durationMillis" : "3098", + "durationMillis" : "2869", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", "labels" : ["\/login page handler", "erroned request body tests", "with no password attribute"] }, { - "name" : "Test Task name not available here/\/login page handler/erroned request body tests/with no mail attribute", + "name" : "Test Task name not available here/\/login page handler/erroned request body tests/empty packet", "status" : "Success", - "durationMillis" : "3172", + "durationMillis" : "2949", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", - "labels" : ["\/login page handler", "erroned request body tests", "with no mail attribute"] + "labels" : ["\/login page handler", "erroned request body tests", "empty packet"] }, { - "name" : "Test Task name not available here/\/login page handler/erroned request body tests/empty packet", + "name" : "Test Task name not available here/\/login page handler/erroned request body tests/with invalid json", "status" : "Success", - "durationMillis" : "3200", + "durationMillis" : "2932", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", - "labels" : ["\/login page handler", "erroned request body tests", "empty packet"] + "labels" : ["\/login page handler", "erroned request body tests", "with invalid json"] }, { - "name" : "Test Task name not available here/\/login page handler/erroned request body tests/with invalid json", + "name" : "Test Task name not available here/\/login page handler/erroned request body tests/with no mail attribute", "status" : "Success", - "durationMillis" : "3251", + "durationMillis" : "2959", "annotations" : "", "fullyQualifiedClassName" : "Test Task name not available here", - "labels" : ["\/login page handler", "erroned request body tests", "with invalid json"] + "labels" : ["\/login page handler", "erroned request body tests", "with no mail attribute"] } ]