Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Constants for feature paths #1701

Merged
merged 3 commits into from
Oct 30, 2023

Conversation

simone-kalbermatter
Copy link
Contributor

Paths to features and scenarios that are used across features are now defined as constants in constants.feature.
This makes it easier to change paths in the future, as they will only have to be changed in one place. It also improves the readability of calls to call read(...) .

@simone-kalbermatter simone-kalbermatter added the prod-ready Production Ready related pull requests label Oct 15, 2023
@simone-kalbermatter simone-kalbermatter self-assigned this Oct 15, 2023
@simone-kalbermatter simone-kalbermatter requested a review from a team as a code owner October 15, 2023 10:11
@github-actions
Copy link

Pull reviewers stats

Stats of the last 30 days for popstellar:

User Total reviews Time to review Total comments
pierluca
🥇
4
▀▀▀▀
2d 8h 32m
16
▀▀▀▀▀▀▀▀
K1li4nL
🥈
3
▀▀▀
3d 14h 9m
0
jbsv
🥉
2
▀▀
8d 1h 46m
▀▀▀
4
▀▀
simone-kalbermatter
1
9d 10h 40m
▀▀▀
1
matteosz
1
5d 2h 48m
▀▀
0

Copy link
Contributor

@jbsv jbsv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe some naming improvement ?

# Paths to scenarios defined in simpleScenarios
* def simpleScenario = 'classpath:be/features/utils/simpleScenarios.feature@name='
* def createLaoScenario = simpleScenario + 'valid_lao'
* def createRollCallScenario = simpleScenario + 'valid_roll_call'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I find create and valid quite different and a bit confusing. Shouldn't the valid_roll_call be renamed create_roll_call to avoid this confusion ? Other proposition ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I forgot to change this.

@sonarcloud
Copy link

sonarcloud bot commented Oct 29, 2023

[PoP - PoPCHA-Web-Client] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Oct 29, 2023

[PoP - Be2-Scala] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Oct 29, 2023

[PoP - Be1-Go] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Oct 29, 2023

[PoP - Fe2-Android] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@sonarcloud
Copy link

sonarcloud bot commented Oct 29, 2023

[PoP - Fe1-Web] Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@matteosz matteosz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simone-kalbermatter simone-kalbermatter merged commit 6a8f1d8 into master Oct 30, 2023
18 checks passed
@simone-kalbermatter simone-kalbermatter deleted the work-simone-feature-path-constants branch October 30, 2023 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prod-ready Production Ready related pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants