Package org.junit
package org.junit
-
ClassDescriptionIf you allocate external resources in a
Beforemethod you need to release them after the test runs.If you allocate expensive external resources in aBeforeClassmethod you need to release them after all the tests in the class have run.A set of assertion methods useful for writing tests.A set of methods useful for stating assumptions about the conditions in which a test is meaningful.An exception class used to implement assumptions (state in which a given test is meaningful and should or should not be executed).When writing tests, it is common to find that several tests need similar objects created before they can run.Sometimes several tests need to share computationally expensive setup (like logging into a database).Thrown when anassertEquals(String, String)fails.This class allows the user to choose the order of execution of the methods within a test class.Sometimes you want to temporarily disable a test or a group of tests.Helpers that need a different implementation for J2kt.TheTestannotation tells JUnit that thepublic voidmethod to which it is attached can be run as a test case.Default empty exception.