Project RTest Execution
Project Details Example test exectuion
Tester Example tester
Test Start 2018-12-30 19:49:43
Report Generated 2018-12-30 19:49:44
No. of Test Cases 1
Host Windows 10 x64
Host Version build 15063
Host Name (User) RPZMW048885 (wolfs25)
R R version 3.5.1 (2018-07-02)
R Architecture x86_64

GLOBAL TEST STATUS

TEST PASSED
0 TCs failed (0%)
1 TCs passed (100%)

EXECUTION SUMMARY

TC Version Type Label Description No. of Testgroups Input Status
RTest_TC-generic 01 RTestCase RTest Template TC for generic test-adapter 1 RTest_TC-generic.xml SUCCESS
Package # Description Function SpecID RiskID # Description No. of Tests Status
RTest 1 example_data_frame 1 Test data.frame 3 SUCCESS
RTest 2 example_image 1 Compare an image 2 SUCCESS
RTest 3 example_list 1 6 SUCCESS
RTest 4 example_vector 1 Test vector example 3 SUCCESS
RTest 5 example_variable 1 Test relative difference 3 SUCCESS

EXECUTION DETAILS

RTest_TC-generic

Version: 01
Type: RTestCase
Author(s): Sebastian Wolf
Creation Date: 2018-12-11
Short Description: RTest Template TC for generic test-adapter
Description: A test case without a test adapter
Input File: ./RTest_TC-generic.xml

RTest
1
example_data_frame
#1
Test RTest::example_data_frame Description Test data.frame
RTest Adapter RTestCase No. of Tests 3
RTest Function 'generic' test function No. of Exceptions 15 (0 failed / 15 passed)
XML Test Definition //RTestCase/tests/RTest[1]/example_data_frame[1]
Test No. of Exectations User System Real Status
Execute function silently. (example_data_frame) 1 0 0.02 0.02 SUCCESS
# Test Success Failure Info Status
1 Test Expected Behaviour TRUE FALSE SUCCESS
Test No. of Exectations User System Real Status
Checking output class and reference class. Check return value (variable). 1 0.02 0 0.01 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value Checking output class and reference class. Check return value (variable). data.frame character data.frame character absolute equal 1.5e-08 SUCCESS
Test No. of Exectations User System Real Status
Check return value (data.frame). 13 0.02 0 0.03 SUCCESS
# Test Received Expected Info Status
1 Equal Row Number 2 2 SUCCESS
2 Equal Column Number 3 3 SUCCESS
# Test Column Received Expected Info Status
3 Equal Column Name 1 x x SUCCESS
4 Equal Column Name 2 y y SUCCESS
5 Equal Column Name 3 sum sum SUCCESS
# Test Row Received Expected Info Status
6 Equal Row Name 1 1 1 SUCCESS
7 Equal Row Name 2 2 2 SUCCESS
# Test Row Column Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
8 Equal Value 1 (1) 1 (x) 1 double 1 double absolute equal 0.001 SUCCESS
9 Equal Value 1 (1) 2 (y) 2 double 2 double absolute equal 0.001 SUCCESS
10 Equal Value 1 (1) 3 (sum) 3 double 3 double absolute equal 0.001 SUCCESS
11 Equal Value 2 (2) 1 (x) 1 double 1 double absolute equal 0.001 SUCCESS
12 Equal Value 2 (2) 2 (y) 2 double 2 double absolute equal 0.001 SUCCESS
13 Equal Value 2 (2) 3 (sum) 3 double 3 double absolute equal 0.001 SUCCESS
back to page top
2
example_image
#1
Test RTest::example_image Description Compare an image
RTest Adapter RTestCase No. of Tests 2
RTest Function 'generic' test function No. of Exceptions 2 (0 failed / 2 passed)
XML Test Definition //RTestCase/tests/RTest[2]/example_image[1]
Test No. of Exectations User System Real Status
Execute function silently. (example_image) 1 0.01 0.04 0.07 SUCCESS
# Test Success Failure Info Status
1 Test Expected Behaviour TRUE FALSE SUCCESS
Test No. of Exectations User System Real Status
Check return image. 1 0.34 0.1 0.44 SUCCESS
# Test Name Received Data Type Expected Data Type Diff in percent Diff Image Tolerance Info Status
1 Equal Value Check return image. C:\Users\wolfs25\AppData\Local\Temp\Rtmpa4pkAu/my_image.png Image C:/Programme_2/ROCHE-R/R/R-3.5.1-test_that/library/RTest/images/Roche_Logo.png Image 0 Sun_Dec_30_19_49_44_2018 1.5e-08 SUCCESS
back to page top
3
example_list
#1
Test RTest::example_list Description
RTest Adapter RTestCase No. of Tests 6
RTest Function 'generic' test function No. of Exceptions 18 (0 failed / 18 passed)
XML Test Definition //RTestCase/tests/RTest[3]/example_list[1]
Test No. of Exectations User System Real Status
Execute function silently. (example_list) 1 0.02 0 0.02 SUCCESS
# Test Success Failure Info Status
1 Test Expected Behaviour TRUE FALSE SUCCESS
Test No. of Exectations User System Real Status
Checking output class and reference class. Check return value (variable). 1 0 0 0 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value Checking output class and reference class. Check return value (variable). list character list character absolute equal 1.5e-08 SUCCESS
Test No. of Exectations User System Real Status
Check return value (list). 4 0.01 0 0.01 SUCCESS
# Test Received Expected Info Status
1 Equal Node Number 3 3 SUCCESS
# Test Column Received Expected Info Status
2 Equal Node Name 1 myname myname SUCCESS
3 Equal Node Name 2 NAME2 NAME2 SUCCESS
4 Equal Node Name 3 data.frame data.frame SUCCESS
Test No. of Exectations User System Real Status
-- List entry 'myname' (variable): Check return value (variable). 1 0 0 0 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value -- List entry 'myname' (variable): Check return value (variable). VALUE1 character VALUE1 character absolute equal 1.5e-08 SUCCESS
Test No. of Exectations User System Real Status
-- List entry 'NAME2' (variable): Check return value (variable). 1 0 0 0 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value -- List entry 'NAME2' (variable): Check return value (variable). 4 double 4 double absolute equal 1.5e-08 SUCCESS
Test No. of Exectations User System Real Status
-- List entry 'data.frame' (data.frame): Check return value (data.frame). 10 0.02 0 0.02 SUCCESS
# Test Received Expected Info Status
1 Equal Row Number 2 2 SUCCESS
2 Equal Column Number 2 2 SUCCESS
# Test Column Received Expected Info Status
3 Equal Column Name 1 x x SUCCESS
4 Equal Column Name 2 y y SUCCESS
# Test Row Received Expected Info Status
5 Equal Row Name 1 1 1 SUCCESS
6 Equal Row Name 2 2 2 SUCCESS
# Test Row Column Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
7 Equal Value 1 (1) 1 (x) 1 double 1 double absolute equal 1.5e-08 SUCCESS
8 Equal Value 1 (1) 2 (y) 1 double 1 double absolute equal 1.5e-08 SUCCESS
9 Equal Value 2 (2) 1 (x) 2 double 2 double absolute equal 1.5e-08 SUCCESS
10 Equal Value 2 (2) 2 (y) 2 double 2 double absolute equal 1.5e-08 SUCCESS
back to page top
4
example_vector
#1
Test RTest::example_vector Description Test vector example
RTest Adapter RTestCase No. of Tests 3
RTest Function 'generic' test function No. of Exceptions 7 (0 failed / 7 passed)
XML Test Definition //RTestCase/tests/RTest[4]/example_vector[1]
Test No. of Exectations User System Real Status
Execute function silently. (example_vector) 1 0.02 0 0.01 SUCCESS
# Test Success Failure Info Status
1 Test Expected Behaviour TRUE FALSE SUCCESS
Test No. of Exectations User System Real Status
Checking output class and reference class. Check return value (variable). 1 0 0 0 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value Checking output class and reference class. Check return value (variable). character character character character absolute equal 1.5e-08 SUCCESS
Test No. of Exectations User System Real Status
Check return value (variable). 5 0.01 0 0.02 SUCCESS
# Test Received Expected Info Status
1 Equal Vector Length 4 4 SUCCESS
# Test i Name Received Data Type (Rec.) Expected Data Type (Exp.) Diff Type Compare Type Tolerance Info Status
2 Equal Value 1 1 RTest character RTest character absolute equal 1.5e-08 SUCCESS
3 Equal Value 2 2 RTest character RTest character absolute equal 1.5e-08 SUCCESS
4 Equal Value 3 3 RTest character RTest character absolute equal 1.5e-08 SUCCESS
5 Equal Value 4 4 RTest character RTest character absolute equal 1.5e-08 SUCCESS
back to page top
5
example_variable
#1
Test RTest::example_variable Description Test relative difference
RTest Adapter RTestCase No. of Tests 3
RTest Function 'generic' test function No. of Exceptions 3 (0 failed / 3 passed)
XML Test Definition //RTestCase/tests/RTest[5]/example_variable[1]
Test No. of Exectations User System Real Status
Execute function silently. (example_variable) 1 0 0.01 0.02 SUCCESS
# Test Success Failure Info Status
1 Test Expected Behaviour TRUE FALSE SUCCESS
Test No. of Exectations User System Real Status
Checking output class and reference class. Check return value (variable). 1 0 0 0 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value Checking output class and reference class. Check return value (variable). numeric character numeric character absolute equal 1.5e-08 SUCCESS
Test No. of Exectations User System Real Status
Check return value (variable). 1 0.01 0 0.02 SUCCESS
# Test Name Received Data Type Expected Data Type Diff Type Compare Type Tolerance Info Status
1 Equal Value Check return value (variable). -0.2 double -0.2 double absolute equal 1.5e-08 SUCCESS
back to page top

R TEST ENVIRONMENT

R Base Packages

Package
stats
graphics
grDevices
utils
datasets
methods
base

Attached Packages

Package Version Build package_md5(Package)
RTest 1.2.3 2018-12-29 tar(Package/R): 85ab600e88d80c015b28cea6dd4477e4
XML 3.98-1.16 2018-08-19 09:11:10 UTC tar(Package/R): 5e27d36c86cf80ee15d1e4ade9ee5ebb
magick 2.0 2018-10-05 10:00:03 UTC tar(Package/R): 5674146375b2b2320b99a019b0cc3c58
testthat 2.0.1 2018-10-13 08:40:03 UTC tar(Package/R): 7b1f39c0d0bfd9f17c1652960ad4c979
covr 3.2.0.9000 2018-12-23 tar(Package/R): e743cde357be0df9f780a110d72505ed
rj 2.0.5-2 2018-08-06 tar(Package/R): 6be768ebe01dc9fd8025bb0fe45a45e1

Loaded, but not attached Packages

Package Version Build package_md5(Package)
remotes 2.0.2 2018-10-30 11:30:10 UTC tar(Package/R): 3f932bb6e9baf80ede92256c473d81af
purrr 0.2.5 2018-05-29 16:46:33 UTC tar(Package/R): 116cc877854bfd4e445ab34bb22b2929
tcltk 3.5.1 2018-07-02 tar(Package/R): 4609b3634292ce07acfe228148b0059d
usethis 1.4.0 2018-08-14 12:10:02 UTC tar(Package/R): 558b66626dd21578b3fa4380d36bcf39
htmltools 0.3.6 2017-04-26 tar(Package/R): 6385e411d655ce14c0c96725ab0fd013
yaml 2.2.0 2018-07-20 tar(Package/R): ae9ea045cd9e0ce32db2deb15d2d14b0
rlang 0.3.0.1 2018-10-25 08:24:20 UTC tar(Package/R): 97e9590e15049c08bfd7128580cab8d9
pkgbuild 1.0.2 2018-10-16 20:00:21 UTC tar(Package/R): cfadc99762673872803bc5b884c536b6
later 0.7.5 2018-09-18 22:20:03 UTC tar(Package/R): 716639e057db97ebf0703417f0cf017a
glue 1.3.0 2018-07-17 19:10:02 UTC tar(Package/R): 6ff0fb24182642f1fb315a48c5f56031
withr 2.1.2 2018-03-15 22:39:56 UTC tar(Package/R): 93e10a630fbec32de20e1d463501887b
sessioninfo 1.1.1 2018-11-05 17:20:02 UTC tar(Package/R): 93906887862a6bb4ae11ae9882a60813
stringr 1.3.1 2018-05-10 21:32:15 UTC tar(Package/R): e7baa03d8e116da97b3268bcbbbaccff
commonmark 1.7 2018-12-01 12:30:03 UTC tar(Package/R): 1b916adff1c4e56fcf9173d8165e6abe
devtools 2.0.1 2018-10-26 21:10:41 UTC tar(Package/R): f127a59cd7b577f181948699cbb006aa
htmlwidgets 1.3 2018-09-30 15:10:13 UTC tar(Package/R): e53cacb288ed7eb1690eb7a0fec14565
rj.gd 2.0.0-1 2018-08-06 tar(Package/R): 29d71632ee1180bcc88620f88f565177
codetools 0.2-15 2016-10-05 16:36:47 tar(Package/R): 3fca7e17ec7a35ecee605e0c02931080
memoise 1.1.0 2017-04-21 05:54:22 UTC tar(Package/R): 784796ba6a0e0ef164159a16053aeeaf
callr 3.1.1 2018-12-21 09:40:07 UTC tar(Package/R): af9695ec33881032bf80d02b7b0e6178
httpuv 1.4.5.1 2018-12-18 19:40:03 UTC tar(Package/R): f521562a78472fa6c90dee9a41ecb059
ps 1.2.1 2018-11-06 12:40:02 UTC tar(Package/R): 726c49e0bd0ecbc2258efb256c047356
crosstalk 1.0.0 2016-12-21 08:30:32 tar(Package/R): b2ff1c459a518dfdde3c01e3fcf66672
rex 1.1.2 2017-10-19 19:54:00 UTC tar(Package/R): 287d2f599ff6bec591f0a6e2d100528c
Rcpp 1.0.0 2018-11-05 tar(Package/R): 78237e8af0875bac556a1a4683928865
xtable 1.8-3 2018-08-29 tar(Package/R): 43d820b2151afa3ffa9866916664a433
openssl 1.1 2018-11-15 14:20:03 UTC tar(Package/R): e90b6cd55b88c82a637be3c0886261bc
backports 1.1.3 2018-12-14 10:30:03 UTC tar(Package/R): 6b7ca0638c9fc21c12062c080d1c19de
promises 1.0.1 2018-04-13 08:59:30 UTC tar(Package/R): 05d78753d18bf299d2d97832c06ad37a
DT 0.5 2018-11-05 21:00:20 UTC tar(Package/R): be8a5db4e4dad509d65a0bda9ba7dc45
desc 1.2.0 2018-05-01 20:48:05 UTC tar(Package/R): 6274388d681cbc668669b154c437ba58
pkgload 1.0.2 2018-10-29 20:30:03 UTC tar(Package/R): ee63c5d45147f4cde6b13767a76569e9
base64 2.0 2016-05-10 23:57:02 tar(Package/R): bdc06ec922408e85ea2c1e154f82c984
jsonlite 1.6 2018-12-07 12:50:02 UTC tar(Package/R): 0747ed8e0c145c1f925f6c80e81013a8
mime 0.6 2018-10-05 18:10:03 UTC tar(Package/R): 4e9c3fdeea120faf3b9cb2d8151c28f8
fs 1.2.6 2018-08-23 19:34:26 UTC tar(Package/R): 8f2b92b2e36a78cdf0dfdecd6bee7ab6
digest 0.6.18 2018-10-10 tar(Package/R): 6cf9cbd7c44489605ea5d333f771a9ce
stringi 1.2.4 2018-07-20 tar(Package/R): 68cda4bbad543ece21c7971ae40759fd
processx 3.2.1 2018-12-05 07:40:06 UTC tar(Package/R): bcee1a53b8867df6665b7354ec7c5006
shiny 1.2.0 2018-11-02 19:20:03 UTC tar(Package/R): 03b013e890154e9095879445097afa6f
rprojroot 1.3-2 2018-01-03 15:36:24 UTC tar(Package/R): 93eea82e311022fe8b1c669eab8a9554
cli 1.0.1 2018-09-25 11:40:07 UTC tar(Package/R): 4857d1c38814fcc218dcd00c19d5333a
tools 3.5.1 2018-07-02 tar(Package/R): 4735e17a0ed3d11078e51682c302ed12
magrittr 1.5 2014-11-22 19:15:57 tar(Package/R): 1389589a7c401e061a157154ecdbcced
lazyeval 0.2.1 2017-10-29 22:59:36 UTC tar(Package/R): 8a88764356df102841a3c3df779b419b
crayon 1.3.4 2017-09-16 19:49:46 UTC tar(Package/R): 325ba607053807eb263637a08d5cb0e8
xml2 1.2.0 2018-01-24 14:50:28 UTC tar(Package/R): 7fe8aba2a8ae99514eac814a26b3e599
prettyunits 1.0.2 2015-07-13 04:09:56 tar(Package/R): c5807ee7285259d0aa74b8e27bb768e9
roxygen2 6.1.1 2018-11-07 05:40:12 UTC tar(Package/R): 3b6a2ff3128f0c94438268eccbff951a
assertthat 0.2.0 2017-04-11 21:28:45 UTC tar(Package/R): aee95fb96aad590770e619724fe22d33
rstudioapi 0.8 2018-10-02 20:30:02 UTC tar(Package/R): 6f4ebe3c6621e7590a3a18a2d8f8ec84
R6 2.3.0 2018-10-04 15:30:03 UTC tar(Package/R): 50cbb8adcbcdc6c9ff2a569670035df6
compiler 3.5.1 2018-07-02 tar(Package/R): 5a3a419916e66aad8ed28b2fe425c5f1