diff options
| author | HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> | 2024-09-16 22:38:40 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 19:38:40 +0000 |
| commit | e0b9c745c15720914f14996bf357d5b375e2dbd8 (patch) | |
| tree | 0dfc717082bedb2eec13eceb5cdeb1ef12b8f7f5 /tests/specs/test/junit | |
| parent | 6ce16145dd12d8a272cb543871276c33c8201a37 (diff) | |
chore: deprecate test itests (#25512)
This PR is part of #22907
---------
Signed-off-by: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com>
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/specs/test/junit')
| -rw-r--r-- | tests/specs/test/junit/__test__.jsonc | 4 | ||||
| -rw-r--r-- | tests/specs/test/junit/main.out | 38 | ||||
| -rw-r--r-- | tests/specs/test/junit/main.ts | 37 |
3 files changed, 79 insertions, 0 deletions
diff --git a/tests/specs/test/junit/__test__.jsonc b/tests/specs/test/junit/__test__.jsonc new file mode 100644 index 000000000..5e91e5287 --- /dev/null +++ b/tests/specs/test/junit/__test__.jsonc @@ -0,0 +1,4 @@ +{ + "args": "test --reporter junit main.ts", + "output": "main.out" +} diff --git a/tests/specs/test/junit/main.out b/tests/specs/test/junit/main.out new file mode 100644 index 000000000..ca9558118 --- /dev/null +++ b/tests/specs/test/junit/main.out @@ -0,0 +1,38 @@ +Check file:///[WILDCARD]/main.ts +<?xml version="1.0" encoding="UTF-8"?> +<testsuites name="deno test" tests="16" failures="0" errors="0" time="[WILDCARD]"> + <testsuite name="./main.ts" tests="16" disabled="0" errors="0" failures="0"> + <testcase name="test 0" classname="./main.ts" time="[WILDCARD]" line="1" col="6"> + </testcase> + <testcase name="test 1" classname="./main.ts" time="[WILDCARD]" line="2" col="6"> + </testcase> + <testcase name="test 2" classname="./main.ts" time="[WILDCARD]" line="3" col="6"> + </testcase> + <testcase name="test 3" classname="./main.ts" time="[WILDCARD]" line="4" col="6"> + </testcase> + <testcase name="test 4" classname="./main.ts" time="[WILDCARD]" line="5" col="6"> + </testcase> + <testcase name="test 5" classname="./main.ts" time="[WILDCARD]" line="6" col="6"> + </testcase> + <testcase name="test 6" classname="./main.ts" time="[WILDCARD]" line="7" col="6"> + </testcase> + <testcase name="test 7" classname="./main.ts" time="[WILDCARD]" line="8" col="6"> + </testcase> + <testcase name="test 8" classname="./main.ts" time="[WILDCARD]" line="9" col="6"> + </testcase> + <testcase name="test 9" classname="./main.ts" time="[WILDCARD]" line="12" col="6"> + </testcase> + <testcase name="test\b" classname="./main.ts" time="[WILDCARD]" line="16" col="6"> + </testcase> + <testcase name="test\f" classname="./main.ts" time="[WILDCARD]" line="19" col="6"> + </testcase> + <testcase name="test\t" classname="./main.ts" time="[WILDCARD]" line="23" col="6"> + </testcase> + <testcase name="test\n" classname="./main.ts" time="[WILDCARD]" line="27" col="6"> + </testcase> + <testcase name="test\r" classname="./main.ts" time="[WILDCARD]" line="31" col="6"> + </testcase> + <testcase name="test\v" classname="./main.ts" time="[WILDCARD]" line="35" col="6"> + </testcase> + </testsuite> +</testsuites> diff --git a/tests/specs/test/junit/main.ts b/tests/specs/test/junit/main.ts new file mode 100644 index 000000000..c4c0f45dc --- /dev/null +++ b/tests/specs/test/junit/main.ts @@ -0,0 +1,37 @@ +Deno.test("test 0", () => {}); +Deno.test("test 1", () => {}); +Deno.test("test 2", () => {}); +Deno.test("test 3", () => {}); +Deno.test("test 4", () => {}); +Deno.test("test 5", () => {}); +Deno.test("test 6", () => {}); +Deno.test("test 7", () => {}); +Deno.test("test 8", () => { + console.log("console.log"); +}); +Deno.test("test 9", () => { + console.error("console.error"); +}); + +Deno.test("test\b", () => { + console.error("console.error"); +}); +Deno.test("test\f", () => { + console.error("console.error"); +}); + +Deno.test("test\t", () => { + console.error("console.error"); +}); + +Deno.test("test\n", () => { + console.error("console.error"); +}); + +Deno.test("test\r", () => { + console.error("console.error"); +}); + +Deno.test("test\v", () => { + console.error("console.error"); +}); |
