alibaba / alibaba/testable-mock
@PostConstruct注解的方法Mock不生效
Open
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
类中使用@PostConstruct注解声明的方法,其对应的Mock方法不生效,请问是正常情况吗
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the reported case with a class whose @PostConstruct method has a mock, then trace the project’s mock handling around that lifecycle callback. Done means determining whether the behavior is expected and documenting or correcting it with a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100