What: Add --ignore option that takes in directories or files
Why: If someone had a tests/data directory and wanted to run all tests in their tests/ directory, then currently the rhum command would try to test the files in tests/data, which would throw errors. It'd be nice to ignore any directories or files that shouldn't be tested.
Acceptance Criteria
[x] Add --ignore subcommand option
[x] Ignores files
[x] Ignores directories
[x] Should be usable as follows: --ignore=dir,dir, --ignore=dirs, --ignore=test1.ts,test2.ts, --ignore=test1.ts
Summary
What: Add
--ignore
option that takes in directories or filesWhy: If someone had a
tests/data
directory and wanted to run all tests in theirtests/
directory, then currently therhum
command would try to test the files intests/data
, which would throw errors. It'd be nice to ignore any directories or files that shouldn't be tested.Acceptance Criteria
--ignore
subcommand option--ignore=dir,dir
,--ignore=dirs
,--ignore=test1.ts,test2.ts
,--ignore=test1.ts