Hi,

I have a parent maven project for testing only and two child applications 
(maven modules in pom).

When I run my integration tests I have to start both my child applications. 
Is this supported by dropwizard? 



    // Define resource test rules to load config and service
    @ClassRule
    public static final DropwizardAppRule<ServiceConfiguration1> RULE1 = 
new DropwizardAppRule<ServiceConfiguration1>(
            ServiceApplication1.class, 
ResourceHelpers.resourceFilePath("test_config1.yml"));;

    // Define resource test rules to load config and service
    @ClassRule
    public static final DropwizardAppRule<ServiceConfiguration2> RULE2 = 
new DropwizardAppRule<ServiceConfiguration2>(
            ServiceApplication2.class, 
ResourceHelpers.resourceFilePath("test_config2.yml"));;


    /**
     * Initialize Jersey client
     */
    public static void initialize() {
        logger.info("ResourcesIntegrationTests -> setup");
        client1 = new 
JerseyClientBuilder(RULE1.getEnvironment()).build("API Test Client in 
Memory");
        client2 = new 
JerseyClientBuilder(RULE2.getEnvironment()).build("API Test Client in 
Memory");
    }

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to