PowerShell / PSDscResources

MIT License
129 stars 53 forks source link

Aligning test folder structures between PSDscResources and xPSDesiredStateConfiguration #164

Open mhendric opened 5 years ago

mhendric commented 5 years ago

While working on ports between PSDscResources and xPSDesiredStateConfiguration recently, I noticed that this is made a bit more challenging due to the fact that the folder structure of the Tests folders is different between these two modules. In PSDscResources, the test helper files are in a dedicated folder, but in xPSDesiredStateConfiguration, they are in the Tests folder itself. I wanted to see what the community thinks about modifying the structure on one of these modules so that it matches the other, and which layout makes the most sense? I personally like having the TestHelpers folder, and follow that model in some of my other repo's, but I'm open for either approach.

PSDscResources Layout: Tests Tests\Integration Tests\Unit Tests\TestHelpers (dedicated test helper folder)

xPSDesiredStateConfiguration Layout: Tests (includes test helper files) Tests\Integration Tests\Unit

mhendric commented 5 years ago

@PlagueHO , would you mind commenting on this one, since you are also a maintainer of both of these modules?