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
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