-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added maven wrapper and pending step example * fixed 341
- Loading branch information
1 parent
a76c950
commit c40c107
Showing
16 changed files
with
523 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,4 @@ jobs: | |
distribution: 'temurin' | ||
cache: maven | ||
- name: Test with Maven | ||
run: mvn test | ||
run: ./mvnw test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you 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. | ||
wrapperVersion=3.3.2 | ||
distributionType=only-script | ||
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.1/apache-maven-3.9.1-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
[ | ||
{ | ||
"line": 4, | ||
"elements": [ | ||
{ | ||
"start_timestamp": "2024-07-12T12:34:37.393Z", | ||
"line": 6, | ||
"name": "Pending step", | ||
"description": "", | ||
"id": "my-feature-with-tags-and-tagged-examples;pending-step", | ||
"type": "scenario", | ||
"keyword": "Scenario", | ||
"steps": [ | ||
{ | ||
"result": { | ||
"error_message": "io.cucumber.java.PendingException: TODO: implement me\n\tat steps.ExampleSteps.search_for_client(ExampleSteps.java:95)\n\tat ✽.I try to execute a pending step(file:///Users/bbischoff/Development/trivago/cucable-plugin/example-project/target/parallel/features/MyTest10_scenario007_run001_IT.feature:7)\n", | ||
"duration": 2713000, | ||
"status": "pending" | ||
}, | ||
"line": 7, | ||
"name": "I try to execute a pending step", | ||
"match": { | ||
"location": "steps.ExampleSteps.search_for_client()" | ||
}, | ||
"keyword": "When " | ||
} | ||
], | ||
"tags": [ | ||
{ | ||
"name": "@us1" | ||
} | ||
] | ||
} | ||
], | ||
"name": "My feature with tags and tagged examples", | ||
"description": "", | ||
"id": "my-feature-with-tags-and-tagged-examples", | ||
"keyword": "Feature", | ||
"uri": "file:target/parallel/features/MyTest10_scenario007_run001_IT.feature", | ||
"tags": [ | ||
{ | ||
"name": "@us1", | ||
"type": "Tag", | ||
"location": { | ||
"line": 3, | ||
"column": 1 | ||
} | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
build-and-test: | ||
mvn clean install | ||
(cd examples/maven-example && mvn verify -e) | ||
open examples/maven-example/target/cluecumber-report/pages/scenario-detail/scenario_1.html | ||
./mvnw clean install | ||
(cd examples/maven-example && ../../mvnw verify -e) | ||
|
||
open examples/maven-example/target/cluecumber-report/index.html | ||
|
||
show-versions: | ||
mvn versions:display-dependency-updates -U -ntp | ||
mvn versions:display-plugin-updates -U -ntp | ||
./mvnw versions:display-dependency-updates -U -ntp | ||
./mvnw versions:display-plugin-updates -U -ntp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.