Basically, I would want ng test
in watch mode to run corresponding tests for only those files that I modify and save.
I wouldn't want to use fdescribe
or fit
because this process is very manual and laborious and I'd have to change it back to describe
and it
after I'm done (to be noted, it still bloats the terminal with skipped statuses for all the skipped tests).
I am looking for something that I can pass as an argument to ng test
which can then smartly detect file changes and run only their tests.
Thanks.
答案 0 :(得分:0)
我认为您正在寻找:
角度版本: 8.2.0 Angular CLI版本: 8.3.14
ng测试-只能更改
ng test --only-changed --watch = true