Skip to content

Commit

Permalink
separated tests for job engine service - restart
Browse files Browse the repository at this point in the history
Signed-off-by: Ana Albic <ana.albic@comtrade.com>
  • Loading branch information
Ana Albic authored and Coduz committed Oct 18, 2019
1 parent f6e6b00 commit 9177c1d
Show file tree
Hide file tree
Showing 6 changed files with 888 additions and 807 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -93,6 +93,10 @@ jobs:
script:
- ./travis.sh $M2_HOME/bin/mvn -B ${BUILD_OPTS} ${CONFIG_OVERRIDES} -Dgroups='!org.eclipse.kapua.qa.markers.junit.JUnitTests' -Dcucumber.options="--tags @jobEngineRestartOnlineDevice" verify
- bash <(curl -s https://codecov.io/bash)
- stage: test
script:
- ./travis.sh $M2_HOME/bin/mvn -B ${BUILD_OPTS} ${CONFIG_OVERRIDES} -Dgroups='!org.eclipse.kapua.qa.markers.junit.JUnitTests' -Dcucumber.options="--tags @jobEngineRestartOnlineDeviceSecondPart" verify
- bash <(curl -s https://codecov.io/bash)
- stage: test
script:
- ./travis.sh $M2_HOME/bin/mvn -B ${BUILD_OPTS} ${CONFIG_OVERRIDES} -Dgroups='org.eclipse.kapua.qa.markers.junit.JUnitTests' verify
Expand Down
@@ -0,0 +1,36 @@
/*******************************************************************************
* Copyright (c) 2019 Eurotech and/or its affiliates and others
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Eurotech - initial API and implementation
*******************************************************************************/
package org.eclipse.kapua.integration.service.jobEngine;

import cucumber.api.CucumberOptions;
import org.eclipse.kapua.qa.common.cucumber.CucumberWithProperties;
import org.junit.runner.RunWith;

@RunWith(CucumberWithProperties.class)
@CucumberOptions(
features = {
"classpath:features/jobEngine/JobEngineServiceStartOfflineDeviceI9n.feature",
"classpath:features/jobEngine/JobEngineServiceRestartOfflineDeviceI9n.feature"
},
glue = { "org.eclipse.kapua.service.job.steps",
"org.eclipse.kapua.service.user.steps",
"org.eclipse.kapua.qa.common",
"org.eclipse.kapua.service.account.steps",
"org.eclipse.kapua.service.device.registry.steps",
},
plugin = { "pretty",
"html:target/cucumber",
"json:target/cucumber.json" },
strict = true,
monochrome = true)
public class RunJobEngineServiceOfflineDeviceI9nTest {
}
Expand Up @@ -18,10 +18,9 @@
@RunWith(CucumberWithProperties.class)
@CucumberOptions(
features = {
"classpath:features/jobEngine/JobEngineServiceStartOfflineDeviceI9n.feature",
"classpath:features/jobEngine/JobEngineServiceStartOnlineDeviceI9n.feature",
"classpath:features/jobEngine/JobEngineServiceRestartOnlineDeviceI9n.feature",
"classpath:features/jobEngine/JobEngineServiceRestartOfflineDeviceI9n.feature"
"classpath:features/jobEngine/JobEngineServiceRestartOnlineDeviceSecondPartI9n.feature"
},
glue = { "org.eclipse.kapua.service.job.steps",
"org.eclipse.kapua.service.user.steps",
Expand All @@ -34,5 +33,5 @@
"json:target/cucumber.json" },
strict = true,
monochrome = true)
public class RunJobEngineServiceI9nTest {
public class RunJobEngineServiceOnlineDeviceI9nTest {
}

0 comments on commit 9177c1d

Please sign in to comment.