I really like the idea of focusing a single test, multiple tests or a block, and there was -Focus parameter on It and Describe for this. There were concerns about commiting -Focus into repo and I think they definitely make sense. I like the feature a lot but also struggled with comitting it into my repo once or twice.
I will remove the feature in #1379 and will re-introduce it later in similar fashion to *-PSBreakpoint, that way the focus is simple to use, and can become a code lense in VS (e.g. Pin test), and possibly get it's own window as Breakpoints have (if VSCode can easily be extended that way).
Focus already works on line filter, I just need to surface a reasonable api for this. It would also be a good idea to reduce the paths to run to only the files that are focused, which is not something I do now.
/fyi @splatteredbits @felixfbecker
I really like the idea of focusing a single test, multiple tests or a block, and there was
-Focusparameter on It and Describe for this. There were concerns about commiting -Focus into repo and I think they definitely make sense. I like the feature a lot but also struggled with comitting it into my repo once or twice.I will remove the feature in #1379 and will re-introduce it later in similar fashion to *-PSBreakpoint, that way the focus is simple to use, and can become a code lense in VS (e.g. Pin test), and possibly get it's own window as Breakpoints have (if VSCode can easily be extended that way).
Focus already works on line filter, I just need to surface a reasonable api for this. It would also be a good idea to reduce the paths to run to only the files that are focused, which is not something I do now.
/fyi @splatteredbits @felixfbecker