We are currently developing three puppet modules. One contains a Defined Type which the other two shall use. This module, lets call it ModuleA, is not released yet into our local forge/repository and will not until it was successfully implemented and tested in at least one of the other two modules (company procedure).
The Definded Type is used in the other two modules to create a resource and is referenced via 'include'. In the metadata.json ModuleA is added as dependency.
When I run pdk test unit
it fails because the Defined Type is unknown.
Currently there is only a single it { is_expected.to compile.with_all_deps }
test in the other two modules, nothing complex.
How can the other two modules be tested if ModuleA is not released yet?