Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkitCLI committed Oct 28, 2024
1 parent 15c1689 commit e3e6ded
Show file tree
Hide file tree
Showing 16 changed files with 560 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.bigquery.runners.multitablerunner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.bigquery.runners.sinkrunner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.bigquery.runners.sourcerunner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright © 2021 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.bigqueryexecute.runner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign", "io.cdap.plugin.bigqueryexecute.stepsdesign",
"io.cdap.plugin.common.stepsdesign", "stepsdesign", },
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright © 2021 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;

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign", "io.cdap.plugin.bigtable.stepsdesign", "io.cdap.plugin.common.stepsdesign",
"stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json"}
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
/*
* Copyright © 2021 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.datastore.runner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign", "io.cdap.plugin.datastore.stepsdesign", "io.cdap.plugin.common.stepsdesign",
"stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.gcs.runners.sinkrunner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.gcs.runners.sourcerunner;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.gcscopy.runners;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Copyright © 2021 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.gcscreate.runners;

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

/**
* Retry Test Runner to execute failed scenarios test cases.
*/
@RunWith(Cucumber.class)
@CucumberOptions(
features = {"@target/failed_scenarios.txt"}, // This reruns only failed scenarios,
glue = {"io.cdap.plugin.gcs.stepsdesign", "io.cdap.plugin.bigquery.stepsdesign", "stepsdesign",
"io.cdap.plugin.common.stepsdesign", "io.cdap.plugin.pubsub.stepsdesign",
"io.cdap.plugin.gcsmove.stepsdesign", "io.cdap.plugin.spanner.stepsdesign",
"io.cdap.plugin.gcsdelete.stepsdesign"},
monochrome = true,
plugin = {"pretty", "json:target/cucumber-reports/failed-scenarios.json",
"rerun:target/failed_scenarios.txt"}
)
public class RetryTestRunner {
}
Loading

0 comments on commit e3e6ded

Please sign in to comment.