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

Add BATs tests for ahoy operations #126

Closed
AlexSkrypnyk opened this issue Apr 23, 2024 · 0 comments · Fixed by #140
Closed

Add BATs tests for ahoy operations #126

AlexSkrypnyk opened this issue Apr 23, 2024 · 0 comments · Fixed by #140
Assignees
Labels
Milestone

Comments

@AlexSkrypnyk
Copy link
Owner

AlexSkrypnyk commented Apr 23, 2024

Once #110 implemented, we want to have tests that execute the same activities as a developer would do locally.

We also want to make sure that lint and test failures are picked up by scripts, meaning that we want to have a test where we introduce a failure, running a tool (phpcs, phpstan etc.) and asserting that they have indeed failed.

See https://github.com/AlexSkrypnyk/scaffold/tree/main/tests/scaffold for an example on how to setup tests. (Note that the location in that repo for Scaffold's tests is not correct - the tests should be in .scaffold/tests dir, not tests/scaffold - there is a ticket to fix that in that repo).

Please note that you would need to install ahoy into container - see https://github.com/ahoy-cli/ahoy

@AlexSkrypnyk AlexSkrypnyk added this to the 4.8 milestone Apr 23, 2024
This was referenced May 1, 2024
AlexSkrypnyk added a commit that referenced this issue May 8, 2024
Co-authored-by: Alex Skrypnyk <alex@drevops.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants