lipkau / PsIni

Work with INI files in PowerShell using hashtables
http://lipkau.github.io/PsIni
MIT License
152 stars 52 forks source link

Unit Tests for release 1.1.0 need testing #13

Closed lipkau closed 9 years ago

lipkau commented 9 years ago

Hi Craig, could you adjust the unit tests? I just reused the ones you submitted with #12 but I believe the changes from #7 invalidated them.

craibuc commented 9 years ago

By default, Pester expects the unit-test scripts to be located in the same directory as the thing (e.g. command) being tested. I adjusted the two, unit-test files to accommodate the separate directories; they are passing.

The integration test for the PsIni module, however, is failing:

I can tag as 1.1.1 and create a pull request, if you want.

lipkau commented 9 years ago

That would be great. Thanks.

I am disappointed with that pester behavior. Almost all repos I use (that are not PS) have the unit tests in .\tests\

craibuc commented 9 years ago

There still is an issue with Get-IniContent--it reverses the order of the keys and sections.

lipkau commented 9 years ago

I believe this can be closed with v 1.1.1 ( #15 )