Skip to content

Commit ac720c5

Browse files
committed
Update docs
1 parent e505467 commit ac720c5

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
# uses: "ramsey/composer-install@v2"
8484

8585
# - name: Run behat
86-
# run: vendor/bin/behat --config tests/Behat/behat.yml --profile=github-actions --suite=redmine_60007
86+
# run: vendor/bin/behat --config tests/Behat/behat.yml --profile=github-actions --suite=redmine_6_0
8787

8888
code-quality:
8989
name: Check ${{ matrix.tool }} (PHP ${{ matrix.php }})

tests/Behat/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ you can use the `behat` command directly:
2222

2323
```bash
2424
# test only a specific redmine version
25-
docker compose exec php composer behat -- --suite=redmine_50104
25+
docker compose exec php composer behat -- --suite=redmine_6_0
2626
# test only specific endpoints
2727
docker compose exec php composer behat -- --tags=issue,group
2828
# test only specific endpoints on a specific redmine version
29-
docker compose exec php composer behat -- --suite=redmine_50104 --tags=issue,group
29+
docker compose exec php composer behat -- --suite=redmine_6_0 --tags=issue,group
3030
# test only a specific redmine version and format the output as `progress` (default is `pretty`)
31-
docker compose exec php composer behat -- --suite=redmine_50104 --format=progress
31+
docker compose exec php composer behat -- --suite=redmine_6_0 --format=progress
3232
```
3333

3434
## Redmine version specific features
@@ -64,18 +64,18 @@ A new Redmine version could introduce new REST-API endpoints.
6464
Tests for this endpoint should not be run on older Redmine versions.
6565
This can be handled on the `scenario` or `feature` layer.
6666

67-
1. Tag features or scenarios e.g. with `@since50000`.
67+
1. Tag features or scenarios e.g. with `@since60000`.
6868

6969
```
70-
@since50000
70+
@since60000
7171
Feature: Interacting with the new REST API endpoint
7272
[...]
7373
```
7474

7575
or
7676

7777
```
78-
@since50000
78+
@since60000
7979
Scenario: Using a new feature
8080
Given I have a "NativeCurlClient" client
8181
And I create a project with name "Test Project" and identifier "test-project"
@@ -88,10 +88,10 @@ or
8888
default:
8989
suites:
9090
[...]
91-
redmine_40210:
91+
redmine_5_1:
9292
[...]
9393
filters:
94-
tags: "~@since50000"
94+
tags: "~@since60000"
9595
9696
```
9797

@@ -125,7 +125,7 @@ or
125125
default:
126126
suites:
127127
[...]
128-
redmine_60000:
128+
redmine_6_0:
129129
[...]
130130
filters:
131131
tags: "~@until60000"

0 commit comments

Comments
 (0)