Class AiPromptSlashCommandInstallerTests
EditMode tests for AiPromptSlashCommandInstaller — writes into a scratch temp directory standing in for the project root, never the real project.
Inherited Members
Namespace: Serenity.AiPromptBuilder.Tests.Editor
Assembly: Serenity.AiPromptBuilder.Tests.Editor.dll
Syntax
public class AiPromptSlashCommandInstallerTests
Constructors
AiPromptSlashCommandInstallerTests()
Declaration
public AiPromptSlashCommandInstallerTests()
Methods
Install_CalledTwice_OverwritesPreviousFile()
Declaration
public void Install_CalledTwice_OverwritesPreviousFile()
Install_FileContent_HasFrontmatterThenBody()
Declaration
public void Install_FileContent_HasFrontmatterThenBody()
Install_GeminiRequested_IsSkippedNotErrored()
Declaration
public void Install_GeminiRequested_IsSkippedNotErrored()
Install_SanitizesCommandName(string, string)
Declaration
public void Install_SanitizesCommandName(string rawCommandName, string expectedFileNameStem)
Parameters
| Type | Name | Description |
|---|---|---|
| string | rawCommandName | |
| string | expectedFileNameStem |
Install_UnrequestedAgent_IsNotWrittenAndNotSkipped()
Declaration
public void Install_UnrequestedAgent_IsNotWrittenAndNotSkipped()
Install_WritesExpectedPathAndExtension_PerAgent()
Declaration
public void Install_WritesExpectedPathAndExtension_PerAgent()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()