Private Function Tests

This directory contains unit tests for private ConfluencePS helpers in ConfluencePS/Private/*.ps1.

Naming

Use one file per private helper named <HelperName>.Unit.Tests.ps1.

Examples:

Structure

Private helper tests should usually focus on:

Helpers

Dot-source shared test helpers with ../../Helpers/<HelperName>.ps1 from files in this directory. Use Initialize-TestEnvironment in BeforeDiscovery, then test inside InModuleScope ConfluencePS.

See .template.ps1 for a starting point.