Running a Single Unit Test

I know how to run all tests in a package, thanks to https://github.com/eclipse-theia/theia/blob/master/doc/Testing.md What is not clear to me is how I can run a single *spec.ts file. I’m trying to add some unit tests and would like to just repeatedly run that single test file. Can anyone help?

[original thread by Thomas Mäder]

You can replace it with it.only to run one test.

or pas –grep mytest

You can debug a single spec file with Run Mocha Tests launch configuration.

https://github.com/eclipse-theia/theia/issues/7402 help with docs is welcomed! :slight_smile: