AI/Tasks/CurrentTask.txt
|
Please look at the following file:
C:\repos\TechToolbox\Set\Set-EmailAlias.ps1 Task: Add or update tests for the behavior described below. Behavior or regression to cover: Create a Set-EmailAlias.Tests.ps1 test file that throws if the parameters Identity or EmailAddress are not provided. Requirements: - Do NOT change the production code unless a supporting adjustment to the code being tested is necessary and justified. - The only file you will create is the test file itself. - Prefer updating an existing nearby test file if one already covers the same area. - If no suitable test file exists, create the smallest appropriate new test file. - Keep the tests focused on the described behavior. - Use the existing test style and naming conventions in the repository. - Run the narrowest relevant test validation after editing. - Do not stop after analysis. - Do not summarize your plan before editing. - Do not return a final answer until the test change and validation have succeeded. |