Testing AI Actions Using XSpec
The New Document Wizard contains a new file template named AI Action Test to assist you with creating XSpec tests that can be used to test the behavior of AI actions. It can be found in the AI Positron Templates folder. When creating the template, you can optionally write a short summary to describe what the AI should include and/or attach files (text, XML, Markdown, Word, PDF, images) via copy/paste or drag/drop. The AI generates an initial structure for your XSpec document and it includes comments to help guide you through the testing process. Some sample XSpec tests for AI actions can be found here: https://github.com/oxygenxml-incubator/ai-positron-assistant-samples/tree/main/Action%20Testing.