Open imavroukakis opened 5 months ago
@imavroukakis, thanks for opening the issue. Would you be interested in contributing a fix?
@justinvp happy to!
apologies for taking so long, will have a pull request soon !
hey @justinvp , I have made the change but I cannot for the life of me figure out how unit tests are run for the java repo, any doco I could perhaps reference?
hey @imavroukakis I'm not a contributor to this project but I was also looking for this to work since right now it seems we can't run Unit Tests in Java that require any sort of Pulumi config.
Anything I can help you with? Looks like Make
is used as a build tool and there are some go
command line examples in the Makefile for running tests.
Hey @joaotab I want to actually run the Java side of the tests but they seem to blow up in unrelated places. The aim here is to a) make sure the existing tests are not broken b) if they break , fix them c) add tests for the new functionality
What happened?
Trying to use a configuration JSON during testing via the environment variable at runtime - as is the case with the implementation in other languages.
Example
Given
'{"project:the_environment": "devtest"}'
stored in PULUMI_CONFIGfails when testing via
PulumiTest
Output of
pulumi about
Additional context
Instead of initialising an empty
config
inPulumiTestInternal
it should be possible and safe to do
instead.
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).