redhat-developer / redhat-developer/vscode-java

Support debug on SpyBeans

Open
#3,653 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

upstream
Dominant language
TypeScript
Stars
2.3k
Forks
546
Avg merge
20h 1m
Merged PRs (30d)
11

Description

Can't debug a class annotated with SpyBean annotation, this makes hard to debug testes because I need to comment the annotation and all the verify statements.

I uploaded a project as sample, if you uncomment the SpyBean annotation you will be able to debug it.

sample-project.zip

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin with the linked sample-project.zip and reproduce the problem by uncommenting the SpyBean annotation, then try debugging the affected test. Done means the class can be debugged without commenting out SpyBean or the verify statements; the issue names no source file or test entry point, so tracing the extension's Java debugging path will be necessary.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, typescript
Domain
developer-experience, testing, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.