Skip to content

Commit

Permalink
Merge pull request #1413 from cloudsufi/Adding-bigtable-runnerfile
Browse files Browse the repository at this point in the history
Added TestRunnerRequired file for bigtable
  • Loading branch information
itsankit-google authored May 21, 2024
2 parents ec5bf50 + dc146ec commit 8d2cbc9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/e2e-test/features/bigtable/BigTableToBigTable.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@BigTable @BIGTABLE_SOURCE_TEST
Feature: BigTable source - Verification of BigTable to BigTable Successful Data Transfer

@BIGTABLE_SINK_TEST
@BIGTABLE_SINK_TEST @bigtable_Required
Scenario: To verify data is getting transferred from BigTable source table to BigTable sink table
Given Open Datafusion Project to configure pipeline
When Select plugin: "Bigtable" from the plugins list as: "Source"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2024 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
package io.cdap.plugin.bigtable.runners;

import io.cucumber.junit.Cucumber;
import io.cucumber.junit.CucumberOptions;
import org.junit.runner.RunWith;

/**
* Test Runner to execute only required BigTable cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"src/e2e-test/features"},
glue = {"io.cdap.plugin.bigtable.stepsdesign", "io.cdap.plugin.common.stepsdesign", "stepsdesign"},
tags = {"@bigtable_Required"},
monochrome = true,
plugin = {"pretty", "html:target/cucumber-html-report/bigtable-required",
"json:target/cucumber-reports/cucumber-bigtable-required.json",
"junit:target/cucumber-reports/cucumber-bigtable-required.xml"}
)

public class TestRunnerRequired {
}

0 comments on commit 8d2cbc9

Please sign in to comment.