[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to sneak in Test-Depends like r-cran-testthat into automated testing for BioC packages





On Wed, 1 Sep, 2021, 4:05 pm Andreas Tille, <andreas@an3as.eu> wrote:
So how can I sneak in some Test-Depends that are needed for the test?

I think this is what you seek:

https://sources.debian.org/src/r-bioc-gsva/1.38.2+ds-3/debian/tests/autopkgtest-pkg-r.conf/

Simply add a d/tests/autopkgtest-pkg-r.conf

This is documented also in the autodep8(1) manpage.
I recently found out about this too 

Or may be it makes sense to always feed r-cran-testthat into the test
environment?

I don't think that'd be a very good solution. IMO adding a conf file is straightforward anyway.
But I've no strong opinions here.

Nilesh

Reply to: