generated from ddev/ddev-memcached
-
-
Couldn't load subscription status.
- Fork 21
Open
Description
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.
So, could you please provide an example of the usage of test asset files from the testdata directory? Thanks!
Metadata
Metadata
Assignees
Labels
No labels