Class DropwizardAppExtension<C extends Configuration>

  • Type Parameters:
    C - the configuration type
    All Implemented Interfaces:
    DropwizardExtension

    public class DropwizardAppExtension<C extends Configuration>
    extends Object
    implements DropwizardExtension
    An extension for starting and stopping your application at the start and end of a test class.

    By default, the Application will be constructed using reflection to invoke the nullary constructor. If your application does not provide a public nullary constructor, you will need to override the newApplication() method to provide your application instance(s).