Skip to content

Commit 8d2cbc9

Browse files
Merge pull request #1413 from cloudsufi/Adding-bigtable-runnerfile
Added TestRunnerRequired file for bigtable
2 parents ec5bf50 + dc146ec commit 8d2cbc9

2 files changed

Lines changed: 38 additions & 1 deletion

File tree

src/e2e-test/features/bigtable/BigTableToBigTable.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
@BigTable @BIGTABLE_SOURCE_TEST
1515
Feature: BigTable source - Verification of BigTable to BigTable Successful Data Transfer
1616

17-
@BIGTABLE_SINK_TEST
17+
@BIGTABLE_SINK_TEST @bigtable_Required
1818
Scenario: To verify data is getting transferred from BigTable source table to BigTable sink table
1919
Given Open Datafusion Project to configure pipeline
2020
When Select plugin: "Bigtable" from the plugins list as: "Source"
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
/*
2+
* Copyright © 2024 Cask Data, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
5+
* use this file except in compliance with the License. You may obtain a copy of
6+
* the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13+
* License for the specific language governing permissions and limitations under
14+
* the License.
15+
*/
16+
package io.cdap.plugin.bigtable.runners;
17+
18+
import io.cucumber.junit.Cucumber;
19+
import io.cucumber.junit.CucumberOptions;
20+
import org.junit.runner.RunWith;
21+
22+
/**
23+
* Test Runner to execute only required BigTable cases.
24+
*/
25+
@RunWith(Cucumber.class)
26+
@CucumberOptions(
27+
features = {"src/e2e-test/features"},
28+
glue = {"io.cdap.plugin.bigtable.stepsdesign", "io.cdap.plugin.common.stepsdesign", "stepsdesign"},
29+
tags = {"@bigtable_Required"},
30+
monochrome = true,
31+
plugin = {"pretty", "html:target/cucumber-html-report/bigtable-required",
32+
"json:target/cucumber-reports/cucumber-bigtable-required.json",
33+
"junit:target/cucumber-reports/cucumber-bigtable-required.xml"}
34+
)
35+
36+
public class TestRunnerRequired {
37+
}

0 commit comments

Comments
 (0)