Tags: getgauge/gauge-java
Tags
feat: add support for skipping scenarios via SkipScenarioException (#924 ) * feat: add support for skipping scenarios via SkipScenarioException - Introduced `SkipScenarioException` in the Gauge API to allow users to skip scenarios programmatically. - Updated `MethodExecutor` to catch `SkipScenarioException` and return a `ProtoExecutionResult` with `skipScenario=true`, an appropriate message, and no failure flag. - Added unit test `testStepMethodExecutionWithSkipScenarioException` in `StepExecutionStageTest.java` to verify the behavior. This implements the feature request from issue #691 by allowing steps to skip execution cleanly using `Gauge.skip("reason")`. Signed-off-by: mehmetozdursun <142603171+mehmetozdursun@users.noreply.github.com> Signed-off-by: serhatozdursun <serhat.ozdursun@gmail.com> * fix mergeExecResults for a missing skipped flag Signed-off-by: serhatozdursun <serhat.ozdursun@gmail.com> * Update AbstractExecutionStage.java fix the format issue which cause the fail Signed-off-by: serhatozdursun <serhat.ozdursun@gmail.com> * Bump up gauge-java version Signed-off-by: serhatozdursun <serhat.ozdursun@gmail.com> * Tidy handling of scenario skipping; adding additional merge tests Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com> --------- Signed-off-by: mehmetozdursun <142603171+mehmetozdursun@users.noreply.github.com> Signed-off-by: serhatozdursun <serhat.ozdursun@gmail.com> Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com> Co-authored-by: mehmetozdursun <142603171+mehmetozdursun@users.noreply.github.com> Co-authored-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Migrate publishing to Sonatype Central Publisher Portal (#923) https://central.sonatype.org/faq/what-is-different-between-central-portal-and-legacy-ossrh/#process-to-migrate Signed-off-by: Chad Wilson <29788154+chadlwilson@users.noreply.github.com>
Update protos and tidy test code (#848) * Consolidate on junit-jupiter and tidy POM Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Update protos and regenerate Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Remove unnecessary commons-io dependency Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Bump go to 1.23 Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Use more modern Maven version on GHA Signed-off-by: Chad Wilson <chadw@thoughtworks.com> --------- Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
Bump com.google.protobuf:protobuf-java from 3.25.3 to 4.27.1 (#815) * Bump com.google.protobuf:protobuf-java from 3.25.3 to 4.27.1 Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.3 to 4.27.1. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/commits) --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-java dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Generate protofiles and update protobuf Signed-off-by: Zabil Cheriya Maliackal <zabilcm@gmail.com> * Bump version and compatibility Signed-off-by: Zabil Cheriya Maliackal <zabilcm@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Zabil Cheriya Maliackal <zabilcm@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Zabil Cheriya Maliackal <zabilcm@gmail.com>
Bump com.google.protobuf:protobuf-java from 3.24.4 to 3.25.0 (#744) * Bump com.google.protobuf:protobuf-java from 3.24.4 to 3.25.0 Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.24.4 to 3.25.0. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](protocolbuffers/protobuf@v3.24.4...v3.25.0) --- updated-dependencies: - dependency-name: com.google.protobuf:protobuf-java dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump version to 0.10.3 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Chad Wilson <chadw@thoughtworks.com>
Bump golang and further dependency versions (#700) * Build with go 1.20.x and Node 18 Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Run tests with Node 18 Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Add dependabot to keep dependencies patched Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Bump commons-lang and guava dependencies Signed-off-by: Chad Wilson <chadw@thoughtworks.com> * Bump version Signed-off-by: Chad Wilson <chadw@thoughtworks.com> --------- Signed-off-by: Chad Wilson <chadw@thoughtworks.com>
PreviousNext