Boilerplate tox.sh script accept arguments
Description
The paved path for developing in the boiler plate is using docker compose. However when running the docker-ized tox
script you're not able to pass in arguments to tox. This makes it difficult to do things like, only running tests or only running one test.
TDD or even manual testing + unit testing requires frequently running new tests and updating existing ones. Developers must be able to run subsets of tests efficiently on the paved path.
See https://gitlab.developers.cam.ac.uk/uis/devops/laboratory-allocator/lab-allocator/-/blob/000379e8b33978351e52fe4f6079371b74557600/tox.sh for an example of changes to script to allow this. Solution is not 100% ideal but does meet below requirement.
Consider alternatives like move docker compose command construction to a function or similar techniques that keeps the compose commands DRY but also permits argument passing.
Acceptance criteria
Can run commands like ./tox.sh -e test