Skip to content

Commit e0bde76

Browse files
committed
Change IniSettingsFile unit tests to be non-destructive
1 parent 12ceadd commit e0bde76

5 files changed

Lines changed: 166 additions & 51 deletions

File tree

.MetaTestOptIn.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"Common Tests - Required Script Analyzer Rules",
77
"Common Tests - Flagged Script Analyzer Rules",
88
"Common Tests - New Error-Level Script Analyzer Rules",
9-
"Common Tests - Custom Script Analyzer Rules"
9+
"Common Tests - Custom Script Analyzer Rules",
10+
"Common Tests - Validate Example Files To Be Published",
11+
"Common Tests - Validate Markdown Links",
12+
"Common Tests - Relative Path Length"
1013
]

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,13 @@
1515
- Refactor Test/Set-TargetResource in ReplaceText to be able to add a key if it
1616
doesn't exist but should -Fixes
1717
[Issue#20](https://github.com/PlagueHO/FileContentDsc/issues/20).
18+
- Opted into common tests:
19+
- Common Tests - Validate Example Files To Be Published
20+
- Common Tests - Validate Markdown Links
21+
- Common Tests - Relative Path Length
22+
- Common Tests - Relative Path Length
23+
- Correct test context description in IniSettingsFile tests to include 'When'.
24+
- Change IniSettingsFile unit tests to be non-destructive - fixes [Issue #22](https://github.com/PowerShell/FileContentDsc/issues/22).
1825

1926
## 1.0.0.0
2027

TestFile.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)