testify icon indicating copy to clipboard operation
testify copied to clipboard

Add command wrapper option

Open felixjb opened this issue 10 months ago • 0 comments

Describe the solution you'd like Add a command wrapper configuration for wrapping the test command. It would be useful for situations like running a test with the Firebase emulators.

If you want to run a test suite or testing script after the emulators have started, use the emulators:exec command:

firebase emulators:exec "./my-test.sh" Firebase Documenation

With that configuration, the firebase command could be set up and the code lens test command could be, for example:

npm run firebase:exec -- 'node_modules/.bin/vitest run test/integration/myTest.test.ts --testNamePattern="my test example" --hideSkippedTests --reporter=verbose --retry=0 --testTimeout=0'

Describe alternatives you've considered Currently I have to open a second terminal, start the Firebase emulators and then run the tests with Testify, even if it is just one. Then, after I am done testing, I manually stop the emulators.

felixjb avatar Jun 11 '25 07:06 felixjb