I suggest we move the integration tests for all the resources to the folder tests/Integration/Resources and update the pipeline to run the integration tests from there.
We can then add (in anpther PR) another folder tests/Integration/Commands to be able to run integration tests for all the public commands in a seperate pipeline job. For example install a SQL Server instance with Install-SqlDscServer and then run tests for all the other commands against that instance.
That way it easier and faster to see if there is a resource or a public command that fails the pipeline. Also the resource tests wont disturb the command tests and vice-verse.
I suggest we move the integration tests for all the resources to the folder
tests/Integration/Resources
and update the pipeline to run the integration tests from there.We can then add (in anpther PR) another folder
tests/Integration/Commands
to be able to run integration tests for all the public commands in a seperate pipeline job. For example install a SQL Server instance withInstall-SqlDscServer
and then run tests for all the other commands against that instance.That way it easier and faster to see if there is a resource or a public command that fails the pipeline. Also the resource tests wont disturb the command tests and vice-verse.