| 1 |
Dear Emacs, please make this -*-Text-*- mode! |
| 2 |
************************************************** |
| 3 |
* |
| 4 |
* |
| 5 |
* RUnit |
| 6 |
* |
| 7 |
* |
| 8 |
* |
| 9 |
************************************************** |
| 10 |
|
| 11 |
Changes in RUnit 0.4.33 |
| 12 |
o checkEqualsNumeric functions when given two one-column data.frames |
| 13 |
|
| 14 |
Changes in RUnit 0.4.32 |
| 15 |
o runTestSuite and runTestFile takes additional gcBeforeTest parameter |
| 16 |
(default FALSE). This disables running garbage collector before timing |
| 17 |
the test. |
| 18 |
This setting speeds up the test suite |
| 19 |
at the cost of making individual test timing less reliable. |
| 20 |
When trying to optimize tests for speed, set gcBeforeTest to TRUE for |
| 21 |
more reliable timing information. |
| 22 |
o added .Rinstignore to cut down on warnings when building the package |
| 23 |
o removed Biobase specific tests, replaced with direct S4 class creation |
| 24 |
o fixed CRAN URLs in README.md |
| 25 |
|
| 26 |
Changes in RUnit 0.4.31 |
| 27 |
o checkEquals and others output optional message on separate line |
| 28 |
|
| 29 |
Changes in RUnit 0.4.30 |
| 30 |
o printJUnitProtocol added for JUnit-style output |
| 31 |
|
| 32 |
Changes in RUnit 0.4.29 |
| 33 |
o changed maintainer to Roman Zenka |
| 34 |
o .testLogger global variable now stored in package environment RUnitEnv |
| 35 |
o added imports of graphics package to NAMESPACE |
| 36 |
|
| 37 |
Changes in RUnit 0.4.26 |
| 38 |
o isValidTestSuite: fixed insufficient if expression handling, reported by Rich Calaway; |
| 39 |
extended validity checks |
| 40 |
|
| 41 |
Changes in RUnit 0.4.25 |
| 42 |
o enable redirection of error and log messages to file, controlled via new |
| 43 |
global option 'outfile', (following a suggestion by Seth Falcon) |
| 44 |
|
| 45 |
Changes in RUnit 0.4.24 |
| 46 |
o added RUnit specific options 'verbose' and 'silent' to global options list |
| 47 |
to allow control of test log output |
| 48 |
o moved unit tests from tests/ to inst/unitTests |
| 49 |
o added Makefile for executing unit tests (using R wiki example) |
| 50 |
|
| 51 |
Changes in RUnit 0.4.23 |
| 52 |
o vignette: fixed function name in example code, reported by Blair Christian |
| 53 |
o init .testLogger to avoid R CMD check NOTE messages |
| 54 |
o allow verbosity of console output log to be controlled: added 'verbose' argument |
| 55 |
to runTestFile and runTestSuite (following a suggestion by Seth Falcon) |
| 56 |
o test logger object declared as S3 class 'TestLogger' |
| 57 |
|
| 58 |
Changes in RUnit 0.4.22 |
| 59 |
o clarified applicable license: GPL 2 |
| 60 |
o defineTestSuite: gained some argument checks |
| 61 |
o isValidTestSuite: check for empty name |
| 62 |
o includeTracker: fix `<- if` handling |
| 63 |
|
| 64 |
Changes in RUnit 0.4.21 |
| 65 |
o documentation issues corrected, identified by new R 2.9.0 devel Rd parser |
| 66 |
|
| 67 |
Changes in RUnit 0.4.20 |
| 68 |
o test protocol generation on Mac OS X failed due to incorrect code to identify |
| 69 |
'gcc' version |
| 70 |
o Rd documentation updated |
| 71 |
|
| 72 |
Changes in RUnit 0.4.19 |
| 73 |
o test protocol now states check number per test case |
| 74 |
o changed check for object class to is() to allow derived class objects to pass |
| 75 |
(suggested by Philippe Grosjean) |
| 76 |
o removed start up message |
| 77 |
|
| 78 |
Changes in RUnit 0.4.18 |
| 79 |
o seq_along introduced instead of seq( ) for efficiency and R version dependency set to |
| 80 |
2.4.0 when seq_along was introduced |
| 81 |
o some small changes to avoid warnings with options(warnPartialMatchArgs=TRUE) |
| 82 |
|
| 83 |
Changes in RUnit 0.4.17 |
| 84 |
o corrected documentation example code |
| 85 |
|
| 86 |
Changes in RUnit 0.4.16 |
| 87 |
o changed the environment test code files are evaluated, now |
| 88 |
a new environment outside the RUnit namespace is utilized, |
| 89 |
allowing e.g. setClass calls without specifying where=.GlobalEnv |
| 90 |
o updated documentation to use encoding latin1 |
| 91 |
o use LazyLoad: yes instead of SaveImage:yes (to be deprecated for R 2.6.0) |
| 92 |
o internal error handler rewritten to be more failure robust |
| 93 |
o added new test cases for .setUp and .tearDown, extended tests |
| 94 |
to cover S4 class and method behaviour in check* functions |
| 95 |
o example on S4 virtual class testing added |
| 96 |
o utility function to compare to RUnitTestResult objects added: |
| 97 |
concept idea for comparing and optimizing test suite |
| 98 |
performance (share/R/checkCode.r) |
| 99 |
|
| 100 |
Changes in RUnit 0.4.15 |
| 101 |
o compatibility to R 1.9.0 as declared in DESCRIPTION: removed calls to isTRUE |
| 102 |
as this was introduced only in R 2.1.0, replaced where needed by identical(TRUE, x) |
| 103 |
o fixed printHTMLProtocol: on Windows Makeconf does not exist so |
| 104 |
CC compiler used by R cannot be queried this way (reported by |
| 105 |
Tobias Verbeke) |
| 106 |
|
| 107 |
Changes in RUnit 0.4.14 |
| 108 |
o stated all package dependencies in DESCRIPTION, required for R |
| 109 |
2.4.0 compatibility |
| 110 |
|
| 111 |
Changes in RUnit 0.4.13 |
| 112 |
o allow the RNG to be set by the user via new arguments 'rngKind' and |
| 113 |
'rngNormalKind' to functions defineTestSuite and runTestFile (patch by Seth Falcon) |
| 114 |
o fixed exit status: RNG kind was left changed after runTestSuite execution in |
| 115 |
user workspace |
| 116 |
o email contact address modified |
| 117 |
|
| 118 |
Changes in RUnit 0.4.12 |
| 119 |
o allow *.R test case file extension (suggested by Gregor Gorjanc) |
| 120 |
o fixed code typo in example vignette (spotted by Gregor Gorjanc) |
| 121 |
|
| 122 |
Changes in RUnit 0.4.11 |
| 123 |
o checkException: argument silent added to allow to suppress |
| 124 |
error messages emitted by the failing function |
| 125 |
o inspect: added argument track, which _has_ to be provided |
| 126 |
at each invocation to avoid recursive default argument |
| 127 |
reference call errors (experimental: subject to change if this |
| 128 |
leads to new incompatibilities) |
| 129 |
|
| 130 |
Changes in RUnit 0.4.9 |
| 131 |
o checkEquals has new compatibility argument checkNames |
| 132 |
|
| 133 |
Changes in RUnit 0.4.8 |
| 134 |
o checkIdentical added, to allow to check for exact identity |
| 135 |
|
| 136 |
Changes in RUnit 0.4.7 |
| 137 |
o update for checkEqualsNumeric to be compatible with R 2.3.0 |
| 138 |
|
| 139 |
Changes in RUnit 0.4.5 |
| 140 |
o improvements to error detection in runTestSuite |
| 141 |
|
| 142 |
Changes in RUnit 0.4.4 |
| 143 |
o changed maintainer |
| 144 |
|
| 145 |
Changes in RUnit 0.4.2 |
| 146 |
o checkTrue: corrected handling of named logical arguments |
| 147 |
|
| 148 |
Changes in RUnit 0.4.1 |
| 149 |
o printHTMLProtocol has new parameter 'testFileToLinkMap' |
| 150 |
to allow to provide a function to add dynamically generated |
| 151 |
URLs for each test case file, e.g. for use with CVSweb |
| 152 |
|
| 153 |
Changes in RUnit 0.4.0 |
| 154 |
|
| 155 |
o New 'error' category DEACTIVATED introduced: If the function |
| 156 |
DEACTIVATED is inserted into a test function the function |
| 157 |
stops at that point and is reported as deactivated in the test |
| 158 |
protocol. |
| 159 |
|
| 160 |
o New function 'getErrors' which takes a list of type |
| 161 |
'RUnitTestData' and returns some very basic error information |
| 162 |
of a test run. |
| 163 |
|
| 164 |
o The name of the currently executed test function is written to |
| 165 |
standard out. |
| 166 |
|
| 167 |
o 'printHTMLProtocol' fixed such that it does not produce a |
| 168 |
warning anymore. |
| 169 |
|
| 170 |
o Dependency on package 'splines' removed. |
| 171 |
|
| 172 |
o Various small fixes of the documentation. |
| 173 |
|
| 174 |
|