./devel/R-tinytest, Lightweight and Feature Complete Unit Testing Framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.4.1, Package name: R-tinytest-1.4.1, Maintainer: pkgsrc-users

Provides a lightweight (zero-dependency) and easy to use unit testing
framework. Main features: install tests with the package. Test results
are treated as data that can be stored and manipulated. Test files are
R scripts interspersed with test commands, that can be programmed
over. Fully automated build-install-test sequence for packages. Skip
tests when not run locally (e.g. on CRAN). Flexible and configurable
output printing. Compare computed output with output stored with the
package. Run tests in parallel. Extensible by other packages. Report
side effects.


Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2023-06-10 15:31:33 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-tinytest) Updated 1.3.1 to 1.4.1

version 1.4.1
- expect_warning and expect_message gain argument 'strict'. This toggles
  between failing when an exception worse than the expected one is thrown.
  (Thanks to Joshua Ulrich for the suggestion)
- New function 'expect_length' checks length of object (thanks to Marcel Ramos
  for suggesting).
- New function 'exit_if': conditionally exit a test file, akin to stopifnot.
  (Thanks to Grant McDermott for triggering this).
- New function 'expect_match' to test whether string output(s) match a
  regular expression (Thanks to Aaron Jacobs for the suggestion).
- package has no logo now, thanks to Reto Stauffer!
- 'build_install_test' gains 'color' argument (thanks to Tim Taylor
  for suggesting)
- 'run_test_file' and 'build_install_test' gain 'encoding' argument that
  is passed to 'parse' for reading test files (thanks to Vincent Goulet
  for suggesting).
- exit_file() is now safeguarded against non-character argument.
- Fixed reporting issue for class labels on conditions. (thanks to dherz
  for reporting)
- Fixed bug: multiple extension packages are now possible (thanks
  to Vincent Arel-Bundock for the PR)
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-08-01 23:48:17 by Makoto Fujiwara | Files touched by this commit (3)
Log message:
(devel/R-tinytest) import R-tinytest-1.2.2

Provides a lightweight (zero-dependency) and easy to use unit testing
framework. Main features: install tests with the package. Test results
are treated as data that can be stored and manipulated. Test files are
R scripts interspersed with test commands, that can be programmed
over. Fully automated build-install-test sequence for packages. Skip
tests when not run locally (e.g. on CRAN). Flexible and configurable
output printing. Compare computed output with output stored with the
package. Run tests in parallel. Extensible by other packages. Report
side effects.