Package com.github.robtimus.junit.support.extension.testresource
Provides interfaces and classes for the
TestResource extension.-
Class Summary Class Description TestResourceLoaders TestResourceLoaderscontains some utility methods that can be used withLoadWithto load resource into objects. -
Annotation Types Summary Annotation Type Description AsLines AsLinesArray AsProperties Encoding Encodingcan be used in combination withTestResourceto specify a specific encoding or charset to use.EOL EOLcan be used in combination withTestResourceto specify a specific line separator to use.LoadWith LoadWithcan be used in combination withTestResourceto specify a factory method to load the contents of a resource into an object.TestResource TestResourcecan be used to annotate a field or a parameter in a lifecycle method or test method that should be resolved into the contents of a (test) resource.