On 11/08/2015 09:31, Julian Reschke wrote:
>
> These tests are specific to the DocumentStore anyway and thus are
> agnostic wrt the fixtures setting. What we could do is not to run them
> at all unless there's DOCUMENT_* fixture set.
yes. You can do it within the test class itself with something like
(typed off the top of my head)
public class ... {
@BeforeClass
public static void before() {
assumeTrue(
FixturesHelper.getFixtures().contains(DOCUMENT_RDB) ||
FixturesHelper.getFixtures().contains(DOCUMENT_NS) ||
);
}
}
it will run on both the profiles.
Davide