tinytest2JUnit
Convert 'tinytest' Output to JUnit XML
v1.1.2
·
May 30, 2024
·
GPL-3
Description
Unit testing is a solid component of automated CI/CD pipelines. 'tinytest' - a lightweight, zero-dependency alternative to 'testthat' was developed. To be able to integrate 'tinytests' results into common CI/CD systems the test results from tinytest need to be caputred and converted to JUnit XML format. 'tinytest2JUnit' enables this conversion while staying also lightweight and only have 'tinytest' as its dependency.
Downloads
647
Last 30 days
5884th
1.8K
Last 90 days
6.7K
Last year
Trend: 0% (30d vs prior 30d)
CRAN Check Status
8
ERROR
6
OK
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | ERROR |
| r-devel-linux-x86_64-debian-gcc | ERROR |
| r-devel-linux-x86_64-fedora-clang | ERROR |
| r-devel-linux-x86_64-fedora-gcc | ERROR |
| r-devel-macos-arm64 | ERROR |
| r-devel-windows-x86_64 | ERROR |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | ERROR |
| r-release-linux-x86_64 | ERROR |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (8 non-OK)
ERROR
r-devel-linux-x86_64-debian-clang
tests
Running ‘tinytest.R’ [3s/12s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
K
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 8ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘tinytest.R’ [2s/13s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
K
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 5ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-devel-linux-x86_64-fedora-clang
tests
Running ‘tinytest.R’ [4s/25s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 44ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-devel-linux-x86_64-fedora-gcc
tests
Running ‘tinytest.R’ [4s/17s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 24ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-devel-macos-arm64
tests
Running ‘tinytest.R’ [1s/12s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
K
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 2ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-devel-windows-x86_64
tests
Running 'tinytest.R' [13s]
Running the tests in 'tests/tinytest.R' failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.
...[truncated]...
K
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 7ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-patched-linux-x86_64
tests
Running ‘tinytest.R’ [3s/14s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 16ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
ERROR
r-release-linux-x86_64
tests
Running ‘tinytest.R’ [3s/12s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 0 tests
test_constructJUnitTag.R...... 1 tests OK
test_constructJUnitTag.R...... 2 tests OK
test_constructJUnitTag.R...... 3 tests OK
test_constructJUnitTag.R...... 4 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 5 tests OK
test_constructJUnitTag.R...... 6 tests OK
test_constructJUnitTag.R...... 7 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 8 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitTag.R...... 9 tests OK
test_constructJUnitT
...[truncated]...
test_xml.R.................... 7 tests OK
test_xml.R.................... 8 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 9 tests OK
test_xml.R.................... 10 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 11 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 12 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 13 tests OK
test_xml.R.................... 14 tests OK 16ms
----- FAILED[data]: test_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted
Additional Issues
noLD
Details →
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 24, 2026
ERROR
r-devel-linux-x86_64-debian-gcc
tests
Running ‘tinytest.R’ [2s/12s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("tinytest2JUnit")
+ }
test_constructJUnitTag.R...... 0 te
...[truncated]...
st_constructJUnitTag.R<82--82>
call| expect_true(tags$attributes$tests == 1, info = "Skipped tests are not reported.")
diff| Expected TRUE, got FALSE
info| Skipped tests are not reported.
Error: 1 out of 110 tests failed
Execution halted