Unit Testing: no content for Java or YAML
File: themes/default/content/docs/guides/testing/unit.md
Most of the pages lack examples for testing in Java. It'll be great if they were added.
Thanks for pointing this out, @Pante. We'll try to work on adding testing docs for Java. I've created an associated trackin gissue in the pulumi-java repo as well: pulumi/pulumi-java#979
Just came across this today. For someone on IaC Core (@Frassle?): Does Java have the mocking classes in its SDK?
If not, we need to add a tab, but indicate that it's not supported. If it does, we need to produce a working example for it.
Optionally, if we deliberately did not add Java support because it's not our recommended approach, we should note this at the top for all languages and point the reader to integration tests (or whatever we recommend).
We should also add a tab for YAML to indicate that mocking is not supported in YAML.
Does Java have the mocking classes in its SDK?
Looks like it, see the com.pulumi.test.Mocks package.