We test inside PDSUseSecHubCentralMappingInJobScenario16IntTest that the white list entries for reduced script environment variable inheritance work as expected.
But when the integration test PDS server is started from an IDE and not from the gradle scripts, ,the test cannot be executed, because the variables to inherit are not defined.
Currently pds_script_does_have_the_mappings_from_sechub_injected_as_environment_variables
ist just skipped in this case and an error log message is done - but the test is green.
This is extreme irritating (at least for myself and I wrote this test... :flushed: )
Wanted
Throw an exception with an info about the problem. The details shall be described still in the log output in detail, but the exception shall also show the necessary configuration of the wanted environment variables.
Situation
We test inside
PDSUseSecHubCentralMappingInJobScenario16IntTest
that the white list entries for reduced script environment variable inheritance work as expected.But when the integration test PDS server is started from an IDE and not from the gradle scripts, ,the test cannot be executed, because the variables to inherit are not defined.
Currently
pds_script_does_have_the_mappings_from_sechub_injected_as_environment_variables
ist just skipped in this case and an error log message is done - but the test is green.This is extreme irritating (at least for myself and I wrote this test... :flushed: )
Wanted
Throw an exception with an info about the problem. The details shall be described still in the log output in detail, but the exception shall also show the necessary configuration of the wanted environment variables.