You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be useful to be able to write tests that will run depending on the context.
That is
tests that run against live data
tests that run against mock data
For now, I've just added the [test] suffix to the pip install command in the docker file for the API
# installs testing: useful for debuggingRUN pip install --no-cache-dir /app/api[test]
# without testing#RUN pip install --no-cache-dir /app/api
But I think the Dockerfile should pick up an environment file and this might both affect the pip install step, and be used to select/filter the tests that run.
We should also think about running these tests during the docker build?
That way we would have some reassurance that dockerised version will work as expected.
It would be nice to also work toward an end-to-end test that checked the status of the front-end too (as per the original playwright work).
The text was updated successfully, but these errors were encountered:
It would be useful to be able to write tests that will run depending on the context.
That is
For now, I've just added the
[test]
suffix to thepip install
command in the docker file for the APIBut I think the Dockerfile should pick up an environment file and this might both affect the pip install step, and be used to select/filter the tests that run.
We should also think about running these tests during the docker build?
That way we would have some reassurance that dockerised version will work as expected.
It would be nice to also work toward an end-to-end test that checked the status of the front-end too (as per the original playwright work).
The text was updated successfully, but these errors were encountered: