See also nextest-rs/nextest#2253 where I cross posted to nextest many months ago.
rust-analyzer has this nice little Run Tests button above a mod of tests:
It also has Run Test above a single test. When switching a project to nextest, most of the time Run Test still works, but often Run Tests will start to fail if you start taking advantage of nextest's one process per test feature, i.e. Run Tests will invoke some call to cargo test rather than nextest itself and your tests won't run in separate processes.
Have you all considered making the hook for Run Tests configurable in some way so that nextest could be invoked instead?
CC @sunshowers, I hope you don't mind me mentioning you here, feel free to ignore, but I thought you might want to be involved if there is movement here
See also nextest-rs/nextest#2253 where I cross posted to nextest many months ago.
rust-analyzer has this nice little
Run Testsbutton above amodof tests:It also has
Run Testabove a single test. When switching a project to nextest, most of the timeRun Teststill works, but oftenRun Testswill start to fail if you start taking advantage of nextest's one process per test feature, i.e.Run Testswill invoke some call tocargo testrather thannextestitself and your tests won't run in separate processes.Have you all considered making the hook for
Run Testsconfigurable in some way so that nextest could be invoked instead?CC @sunshowers, I hope you don't mind me mentioning you here, feel free to ignore, but I thought you might want to be involved if there is movement here