acoustic-library-86413
01/09/2024, 9:58 AMPANTS_EXECUTION_SLOT
to ensure they create and connect to different databases on the server to prevent them from interfering with each other. Is there an easy way to set it up such that each file in a folder, e.g. tests/integration
has an environment variable populated with the test's file name automatically? In this specific scenario I would like the environment variable DB_NAME
to be set to project-name-<name-of-test>
.acoustic-library-86413
01/09/2024, 1:27 PMrequest
fixture in Pytest using request.path.stem
to get the name of the file. That solves the issue for me!happy-kitchen-89482
01/09/2024, 11:48 PM