Skip to content

Commit

Permalink
Testing commit. Reduced coverage and same amount of code.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Feb 16, 2024
1 parent 67736f0 commit 135d24b
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ import munit.FunSuite

class ScAPIRunnerTest extends FunSuite {

test("call main without params") {
test("call main without params".ignore) {
interceptMessage[IllegalArgumentException]("Wrong options provided. List can be found above\n") {
ScAPIRunner.main(Array())
}
}

test("call main with minimum params - report of failures") {
test("call main with minimum params - report of failures".ignore) {
val args: Array[String] = Array(
"--env", getClass.getResource("/test_project/localhostBadPort.env.json").getPath,
"--test-root-path", getClass.getResource("/test_project").getPath)
Expand All @@ -40,7 +40,7 @@ class ScAPIRunnerTest extends FunSuite {
assert(report.contains("Error: Problems during running before suite logic. Details: Suite-Before for Suite: getOwners Demo Suite has failed methods. Not executing main tests and Suite-After."))
}

test("call main with minimum params - validate only") {
test("call main with minimum params - validate only".ignore) {
val args: Array[String] = Array(
"--env", getClass.getResource("/test_project/localhost.env.json").getPath,
"--test-root-path", getClass.getResource("/test_project").getPath,
Expand All @@ -49,7 +49,7 @@ class ScAPIRunnerTest extends FunSuite {
ScAPIRunner.main(args)
}

test("call main with full params - validate only") {
test("call main with full params - validate only".ignore) {
val args: Array[String] = Array(
"--env", getClass.getResource("/mini_env.json").getPath,
"--test-root-path", getClass.getResource("/test_project").getPath,
Expand All @@ -64,7 +64,7 @@ class ScAPIRunnerTest extends FunSuite {
ScAPIRunner.main(args)
}

test("no suite folder in project") {
test("no suite folder in project".ignore) {
val args: Array[String] = Array(
"--env", "localhost.env.json",
"--test-root-path", "/random/path/without/suite")
Expand Down

0 comments on commit 135d24b

Please sign in to comment.