May 19, 2015
12:09 p.m.
On Mon, May 18, 2015 at 10:02 AM, Sergio Fedi <sergio.fedi@gmail.com> wrote:
I want to add a test to ensure #packageManifest answers a Class.
Since RPackage is in RPackageCore, but the #packageManifest method is in Manifest-Core I'm not sure whether:
1. I have to make the test in RPackageTest but make the test method from the Manifest-Core package 2. I have to make the test in RPackageTest but make the test method from the Manifest-Tests package 3. Create a new class in Manifest-Tests to hold this new test (and someupcoming tests as well)
I'm not sure, but I am tending to towards... use of Manifest is an implementation detail. Its RPackage behaviour you are testing, so that is where the tests should