We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
To improve the test coverage, I need to use some assets from files inside the ddev project, but have a hard time understanding how to do this right.
I need to run a command inside the testing ddev project like this:
ddev exec "curl -X POST -H "Content-Type: application/json" -d @[some_dir]/testdata/test-metric.json http://opentelemetry-grafana:4318/v1/metrics"
So, to make the files available inside the testing ddev project, I have to list them in the install.yaml that looks not so good.
install.yaml
So, could you please provide an example of the usage of test asset files from the testdata directory? Thanks!
The text was updated successfully, but these errors were encountered:
Hi @MurzNN - Please take a look at ddev-platformsh, which uses lots of stuff in testdata, https://github.com/ddev/ddev-platformsh/tree/main/tests
Sorry, something went wrong.
No branches or pull requests
To improve the test coverage, I need to use some assets from files inside the ddev project, but have a hard time understanding how to do this right.
I need to run a command inside the testing ddev project like this:
So, to make the files available inside the testing ddev project, I have to list them in the
install.yaml
that looks not so good.So, could you please provide an example of the usage of test asset files from the testdata directory? Thanks!
The text was updated successfully, but these errors were encountered: