Document unit testing in Java
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Description
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
There doesn't seem to be any unit testing scaffolding support for the Java SDK. Compare and contrast that to the Python API with pulumi.runtime.Mocks , TypeScript with pulumi.runtime.setMocks and Go with pulumi.MockResourceArgs (and friends).
Whilst integration testing is certainly possible, the feedback from the unit tests would be much faster
Affected area/feature
Unit testing
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Java SDK's existing testing support and comparing the referenced Pulumi testing APIs for Python, TypeScript, and Go. Determine the Java API and scaffolding needed for unit tests, then confirm the design and expected coverage with maintainers; done means Java users can write fast unit tests comparable to those APIs.
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
- Mostly clear
- Newbie friendliness
- 25/100