-
Notifications
You must be signed in to change notification settings - Fork 4
Invoke AcmaUnitTests
Ryan Newington edited this page Sep 4, 2025
·
7 revisions
Executes all unit tests defined in the ACMA configuration file that was loaded by the Connect-AcmaEngine cmdlet. Unit tests validate business rules, constructors, and data integrity within the ACMA system.
Invoke-AcmaUnitTests [-BreakOnTestFailure <bool>] [-HtmlReportFileName <string>]Stops the test execution immediately when the first test failure occurs
- Required: No
- Position: Named
- Pipeline input: No
- Default: If not specified, all tests will run regardless of failures
The full path where the HTML test results report will be saved
- Required: No
- Position: Named
- Pipeline input: No
- Accepts: String path for the output HTML file
Returns test execution results and statistics. If -HtmlReportFileName is specified, also creates an HTML report file.
Invoke-AcmaUnitTestsInvoke-AcmaUnitTests -BreakOnTestFailure $trueInvoke-AcmaUnitTests -HtmlReportFileName "C:\temp\unit-test-results.html"