- A few more URLs corrections (for CRAN)!
- Correction of a few URLs in the vignette.
- Minor change: markdown added in "suggests". Komodo Edit is now Komodo IDE.
-
During the conversion to Roxygen2, the topic 'svUnit' was lost. Corrected.
-
A new 'pkgdown' web site is added at https://www.sciviews.org/svUnit/.
- http://www.r-project.org changed into https://www.r-project.org in svUnit vignette (required by CRAN).
- Corrections in URLs in the svUnit vignettes (canonical forms for CRAN packages like https://CRAN.R-project.org/package=<pkg_name> + another buggy URL).
-
No further problems found in two years => version bumped to 1.0.0.
-
NEWS
file reworked and renamedNEWS.md
. -
The vignette is reworked into an R Markdown format.
-
The functions documentation is reworked in roxygen2 format (v7).
-
A pkgdown site is created to better document the svUnit package.
-
Development moved to Github; Travis CI and appveyor added.
-
Dependency to optional XML package is now managed correctly through
requireNamespace()
andXML::xxx()
calls.
- Rework of Author field in
DESCRIPTION
file.
-
Temporary objects are now saved in
SciViews:TempEnv
instead ofTempEnv
. -
runTest.svSuite()
does not create.TestSuiteEnv
into.GlobalEnv
any more. This object is now stored inSciViews:TempEnv
(CRAN does not allow to assign in.GlobalEnv
).
-
In
runTest.svSuite()
, a<<-
assignation is replaced byassign(..., envir = .GlobalEnv)
. -
Vignette svUnit is now moved to
\vignettes
subdirectory.DESCRIPTION
andNEWS
files are reworked.
- Vignette svUnit translated into LyX 2.0-0.
- Option added to skip instead of fail missing documentation examples.
- The test list was only repeatedly running the last test defined. Fixed.
-
Refer to last test environment through a local identifier. Closes #1327.
-
Strip attributes from context fields when saving them temporarily.
- XML-encoding entities in
protocol_junit.svTestData()
. Closes #1147.
- Backquotes set to test name in evaluation instruction, allowing to use syntactically incorrect names for tests.
-
Loading of svUnit sometimes failed during checking of the SciViews-K Unit plugin installation in Komodo Edit/IDE. Corrected. Thanks Claudia Beleites.
-
The
unitTest.svUnit
man page now usesrequire(svUnit)
in a mechanism that ignores the tests in case svUnit is not installed in a machine where R CMD check is run. -
errorLog()
now briefly reports statistics on all test run when used ininteractive()
mode. This is more appropriate when the tests are run by usingexample(unitTests.<mypackage>)
, while it does not change original behavior (silent execution of the tests, except in case of failure or error) during the R CMD check process. -
The package vignette is updated to reflect these changes.
- Added a
unitname=
argument inrunTest.svSuite()
to select one test unit to run in the test suite. Thanks to Thomas Wutzler for submitting this patch.
- Upgrade to the Komodo SciViews-K Unit plugin version 0.7-1.
- Typo correction in
guiTestReport.Rd
.
- The task callback mechanism introduced in svSocket 0.9-48 is now used to all running the task after R code send by socket clients is executed.
- There is now a vignette for the svUnit package.
-
Correction of a bug in Windows relative to path separators
\\
versus/
, especially usingtempdir()
. -
Correction of a bug that prevented to list
runit*.R
files in the unitTests subdirectory of a package under Windows.
-
The package does not depends any more on RUnit. It has his own
checkXXX()
function (they are compatible with those in RUnit 0.4.17, except that here thecheckTrue()
function is vectorized, but they operate very differently), -
svUnit functions and objects are renamed
svSuite
, and there is a reworking of objects to end withsvTest
,svSuite
,svTestData
andsvSuiteData
, and many new methods for those objects (print()
,summary()
,stats()
,metadata()
,makeUnit()
,runTest()
). -
print.svSuiteData()
andsummary.svSuiteData()
are completely reworked. -
svSuiteList()
now accepts additional, dirs, manages an exclusion list and has an argumentloadPackages =
to force loading packages provided in the list. -
Names for test units is now
runit<name>.R
, like in the RUnit package. Same for the test functions which aretest<name>.R
(used to berunit.<name>.R
andtest.<name>.R
). -
The temporary directory is now emptied from old
runit*.R
files before making new ones, but not any more after running tests. That way, we avoid running old test definitions, while keeping the latest one available for inspection. -
koUnit_xxx()
functions have been added to manipulate the R Unit GUI in Komodo from within R.
-
Added
guiTestFeedback()
andguiTestReport()
functions. -
A couple of other little changes.
- First version compiled as a package and distributed on R-Forge.