Testy / TestyTs

✔️ Modern TypeScript testing framework.
http://testy.github.io
ISC License
123 stars 8 forks source link

Run tests located in a given list of files #87

Closed Aboisier closed 2 years ago

Aboisier commented 2 years ago

Hello Aboisier, Is there a way to, for example, run a single test file, like:

testyts ./tests/01.test.spec.ts

Thanks in advance for your help,

Aboisier commented 2 years ago

This was implemented in #88 , but it seems like there is an issue when running on linux or osx; given the glob tests/* and the following files structure

/tests
  /a.ts
  /b.ts

Testy.Ts only runs tests in the first file.

Aboisier commented 2 years ago

This was implemented in #88 , but it seems like there is an issue when running on linux or osx; given the glob tests/* and the following files structure

/tests
  /a.ts
  /b.ts

Testy.Ts only runs tests in the first file.

This was actually caused by a lack of quotation marks. The following works:

testyts --files "tests/*"