Allow to Mock Resource in testing
Open
- Dominant language
- Java
- Stars
- 11.5k
- Forks
- 402
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 20
Description
i would to mock read's like `read("env:MY_CUSTOM_ENV")` for a specific test case/(or test file at least)
Context: I have a Global Config object which reads env variables and i would like to define them in a test file.
Mocking Resources could be a way i think
Contributor guide
Research direction
No file, test, or entry point is named. Start by examining how read("env:MY_CUSTOM_ENV") is resolved and how a Global Config object reads environment variables. Done means a test case or test file can provide mocked resource values and verify the resulting configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100