Golang Delve:单元测试失败时,进入调试器

I'm trying to have Delve drop into a debugger when a test from the testing package fails. How can I do this?

For reference, I'm looking for functionality similar to nose, pytest, or other python testing packages. Using nose, I can do

nosetests test_things.py --pdb

which would let me trop into a debugger when any unit tests fail.