This repository was archived by the owner on Feb 24, 2021. It is now read-only.
Test templates using a different casing when cloning DscResource.Tests #431
Labels
enhancement
The issue is an enhancement request.
When running a unit test, the first thing that happens, if not already exist, is to clone the DscResource.Tests repo into the module root folder. When this happens, the repo is cloned as 'DSCResource.Tests' (upper-case 'DSC') where as in the test framework it is cloned as 'DscResource.Test' (upper-case D, lower-case 'sc').
This can have a problem when using tools that are case sensitive, where one test works in the test framework, but not locally.
I suggest we change the test templates to using the name of the repo 'DscResource.Tests' (upper-case D, lower-case 'sc').
DscResources/Tests.Template/unit_template.ps1
Line 30 in 7d18a71
The text was updated successfully, but these errors were encountered: