Hi!

> (another) Martin wrote:
> One important scenario I use during development is to run selected
> unit tests, typically found in a single file. Usually this is
> preceeded by INSTALL rather than check, as I optimistically think that
> my changes will be an improvement and hence installing the package is
> a starting point for the next iteration.

Yes, I also do that very often, especially if I work only on one function
and I only want to test if it works. With this in mind there is a Makefile
in PKG/inst/RUnitTests (this is based largely on work probably also by
you and other "BioC folk"), which provides handy

make # run unit tests
make all # install and run unit tests

Though, this runs all unit tests.

Gregor

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to