making test outputs cleaner
continuous-integration/drone/push Build is passing Details

dev
Override-6 2 years ago
parent a3065f64af
commit debb61e14c

@ -19,7 +19,7 @@
</Appenders> </Appenders>
<Loggers> <Loggers>
<Logger level="ALL" name="JWTEmitter" additivity="false" includeLocation="false"> <Logger level="WARN" name="JWTEmitter" additivity="false" includeLocation="false">
<AppenderRef ref="Console"/> <AppenderRef ref="Console"/>
<AppenderRef ref="LogFile"/> <AppenderRef ref="LogFile"/>
</Logger> </Logger>

@ -15,6 +15,9 @@ trait ServerModule extends ScalaModule with ScalafmtModule {
} }
trait HttpModule extends ServerModule { trait HttpModule extends ServerModule {
override def ivyDeps = super.ivyDeps() ++ Agg( override def ivyDeps = super.ivyDeps() ++ Agg(
ivy"dev.zio::zio-http:0.0.3", ivy"dev.zio::zio-http:0.0.3",
ivy"dev.zio::zio-streams:2.0.6", ivy"dev.zio::zio-streams:2.0.6",

@ -10,6 +10,7 @@ steps:
- name: build - name: build
path: ./build path: ./build
commands: commands:
- ./mill __.compile
- ./mill tests.test - ./mill tests.test
# - name: Deploy # - name: Deploy

@ -1,25 +1,25 @@
{ {
"results": [ "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", "status" : "Success",
"durationMillis" : "5030", "durationMillis" : "4864",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "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", "status" : "Success",
"durationMillis" : "5077", "durationMillis" : "4888",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "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", "name" : "Test Task name not available here/\/login page handler/login situation tests/login with known account",
"status" : "Success", "status" : "Success",
"durationMillis" : "6398", "durationMillis" : "6001",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "fullyQualifiedClassName" : "Test Task name not available here",
"labels" : ["\/login page handler", "login situation tests", "login with known account"] "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", "name" : "Test Task name not available here/\/login page handler/erroned request body tests/with no password attribute",
"status" : "Success", "status" : "Success",
"durationMillis" : "3098", "durationMillis" : "2869",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "fullyQualifiedClassName" : "Test Task name not available here",
"labels" : ["\/login page handler", "erroned request body tests", "with no password attribute"] "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", "status" : "Success",
"durationMillis" : "3172", "durationMillis" : "2949",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "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", "status" : "Success",
"durationMillis" : "3200", "durationMillis" : "2932",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "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", "status" : "Success",
"durationMillis" : "3251", "durationMillis" : "2959",
"annotations" : "", "annotations" : "",
"fullyQualifiedClassName" : "Test Task name not available here", "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"]
} }
] ]