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

test: bats test for the OpenMage quickstart #7002

Closed
1 task done
sreichel opened this issue Feb 17, 2025 · 4 comments
Closed
1 task done

test: bats test for the OpenMage quickstart #7002

sreichel opened this issue Feb 17, 2025 · 4 comments
Assignees

Comments

@sreichel
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem?

Same as for other frameworks ...

Describe your solution

... please assign to me. (it will take 3-4 days)

Describe alternatives

No response

Additional context

No response

@rfay
Copy link
Member

rfay commented Feb 18, 2025

Yay, thanks! Some docs to help you in https://ddev.readthedocs.io/en/latest/developers/quickstart-maintenance/#automated-tests and feel free to contribute to that or make suggestions as well.

@rfay
Copy link
Member

rfay commented Mar 10, 2025

Feel free to take this on as a PR when you get to it. Thanks! Closing for now.

@rfay rfay closed this as completed Mar 10, 2025
@sreichel
Copy link
Contributor Author

sreichel commented Mar 14, 2025

Hey @rfay, can you help me with that ...

I followed steps from documention, but there is something wrong

Ubuntu, export BATS_LIB_PATH=/usr/bin/bats

 ✗ backdrop existing project with ddev version v1.23.5
   (from function `_common_setup' in file tests/common-setup.bash, line 6,
    from function `setup' in test file tests/backdrop.bats, line 6)
     `_common_setup' failed with status 127
   /home/sr/Schreibtisch/github/ddev/docs/tests/common-setup.bash: Zeile 6: bats_load_library: Befehl nicht gefunden

@rfay
Copy link
Member

rfay commented Mar 14, 2025

I guess you're doing local testing and you haven't installed bats-file, bats-assert, bats-support

If using homebrew they can be installed with brew

https://ddev.readthedocs.io/en/stable/developers/quickstart-maintenance/#automated-tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants