pester / vscode-adapter

Run PowerShell Pester Tests with Visual Studio Code
MIT License
58 stars 14 forks source link

Explore Potentially using Last property of a testresult to close out the pending on a context/describe/file #148

Closed JustinGrote closed 1 year ago

JustinGrote commented 1 year ago

There is a Last property on a test result that is marked true if it is the last test in a particular block.

Currently the "Queued" property on each test header doesn't resolve until the entire test run is completed. It may be possible that, upon encountering Last as true, to go to the parent and mark it as complete.

JustinGrote commented 1 year ago

Probably blocked on https://github.com/microsoft/vscode-discussions/discussions/672

JustinGrote commented 1 year ago

Fixed https://github.com/pester/vscode-adapter/commit/5679ecd04bf17b01080db482199570d1d64eb822