gotestyourself / gotestyourself/gotestsum

How to use with delve

Open
#229 2 comments 0 reactions 0 assignees View on GitHub
docs
Dominant language
Go
Stars
2.7k
Forks
171
PR merge metrics
No merged PRs in 30d

Description

I'm not sure if I'm using this package with delve properly. Here's my current flow

1) run `gotestsum --watch`
2) press 'd' to have the test run with delve
3) work through the breakpoints (e.g. by just pressing 'c')
4) observe that test fails
5) delve prints `Process 51458 has exited with status 1`
6) I get to the dlv prompt again but I'm not sure how to actually restart the test now without exiting and running `gotestsum --watch` again.

Is there something I need to run to get the test to restart without killing the session?

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the listed `gotestsum --watch` and delve flow, then inspect the command handling around the `d` action and the post-exit prompt. Determine whether the test can be restarted in the existing session; done means documenting the supported restart procedure or clearly stating that the session must be restarted.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing-qa
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.