All Downloads are FREE. Search and download functionalities are using the official Maven repository.

public.javadoc.org.spincast.testing.junitrunner.CanBeDisabled.html Maven / Gradle / Ivy

There is a newer version: 2.2.0
Show newest version






CanBeDisabled (org.spincast:spincast-framework 1.13.0 API)












org.spincast.testing.junitrunner

Interface CanBeDisabled

    • Method Detail

      • isTestClassDisabledPreBeforeClass

        boolean isTestClassDisabledPreBeforeClass()
        Should the tests class be disabled?

        Note that this will be ran before everything (including #beforeClass()): no Guice context is available... But you can look at System properties, for example as a way of finding if the file must be ran or not.

        Use isTestClassDisabledPostBeforeClass() if you need the Guice context in order to perform your logic.

      • isTestClassDisabledPostBeforeClass

        boolean isTestClassDisabledPostBeforeClass()
        Should the tests of this class all be disabled?

        Note that this will be ran after #beforeClass(): the Guice context is created and available.

        If you need to disable the tests because on some environments you are not even able to create the Guice context, use isTestClassDisabledPreBeforeClass() instead.

Copyright © 2019. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy