invertase/spec

[Question] Does this support passing individual test files/directories?

Open

#24 aperta il 6 lug 2022

Vedi su GitHub
 (11 commenti) (1 reazione) (0 assegnatari)Dart (16 fork)github user discovery
hacktoberfest

Metriche repository

Star
 (305 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I tried running my tests by simply calling spec in the root folder and it only picked up tests in a packages/test folder and ignored the ones in the main test folder.

When I pass individual test files as I would with flutter_test as in flutter test test/path/to_test.dart, Spec does not find the tests and runs nothing.

Is using melos in this case required or is there an option I have not yet found?

Guida contributor