dsccommunity / SqlServerDsc

This module contains DSC resources for deployment and configuration of Microsoft SQL Server.
MIT License
360 stars 227 forks source link

SqlServerDsc: Move integration tests for `tests/Integration/Resources` #1838

Closed johlju closed 6 months ago

johlju commented 1 year ago

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.

johlju commented 1 year ago

Should also be a separate README.md for both the Resources and Commands folder.