Tests/TestResults.xml

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<test-results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="nunit_schema_2.5.xsd" name="Pester" total="23" errors="0" failures="1" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2025-02-15" time="07:12:48">
  <environment cwd="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025" user="renev" os-version="10.0.26100" machine-name="ATMOSMAIN" nunit-version="2.5.8.0" clr-version="9.0.1" platform="Microsoft Windows 11 Pro|C:\WINDOWS|\Device\Harddisk0\Partition3" user-domain="ATMOSMAIN" />
  <culture-info current-culture="en-150" current-uiculture="en-GB" />
  <test-suite type="TestFixture" name="Pester" executed="True" result="Failure" success="False" time="1367.4963" asserts="0" description="Pester">
    <results>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\Add-EmoticonsToText.Tests.ps1" executed="True" result="Success" success="True" time="13.3306" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\Add-EmoticonsToText.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Add-EmoticonsToText" executed="True" result="Success" success="True" time="12.7378" asserts="0" description="Add-EmoticonsToText">
            <results>
              <test-case description="Should use custom instructions" name="Add-EmoticonsToText.Should use custom instructions" time="12.6787" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\Get-TextTranslation.Tests.ps1" executed="True" result="Success" success="True" time="19.5771" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\Get-TextTranslation.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Get-TextTranslation" executed="True" result="Success" success="True" time="19.4997" asserts="0" description="Get-TextTranslation">
            <results>
              <test-case description="Should translate English to Spanish correctly" name="Get-TextTranslation.Should translate English to Spanish correctly" time="9.4989" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should translate English to Dutch correctly" name="Get-TextTranslation.Should translate English to Dutch correctly" time="9.9955" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\New-LLMTextChat.Tests.ps1" executed="True" result="Failure" success="False" time="560.7093" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\New-LLMTextChat.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="New-LLMTextChat - Test default ExposedCmdlets" executed="True" result="Failure" success="False" time="560.6591" asserts="0" description="New-LLMTextChat - Test default ExposedCmdlets">
            <results>
              <test-case description="Should test basic functionality" name="New-LLMTextChat - Test default ExposedCmdlets.Should test basic functionality" time="560.4831" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>Expected like wildcard '*Microsoft-IIS/10.0*' to match 'The web server running at https://powershell.genxdev.net/ is using the IIS (Internet Information Services) web server software. This is a common choice for hosting PowerShell modules and other web applications due to its reliability and flexibility.
', but it did not match.</message>
                  <stack-trace>at $result | Should -BeLike "*Microsoft-IIS/10.0*", C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\New-LLMTextChat.Tests.ps1:15
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\New-LLMTextChat.Tests.ps1:15</stack-trace>
                </failure>
              </test-case>
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\Start-AudioTranscription.Tests.ps1" executed="True" result="Success" success="True" time="3.089" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI\Start-AudioTranscription.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Start-AudioTranscription" executed="True" result="Success" success="True" time="2.7558" asserts="0" description="Start-AudioTranscription">
            <results>
              <test-case description="Should use default language when not specified" name="Start-AudioTranscription.Should use default language when not specified" time="2.7496" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\ConvertTo-LMStudioFunctionDefinition.Tests.ps1" executed="True" result="Success" success="True" time="0.9764" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\ConvertTo-LMStudioFunctionDefinition.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="ConvertTo-LMStudioFunctionDefinition" executed="True" result="Success" success="True" time="0.8854" asserts="0" description="ConvertTo-LMStudioFunctionDefinition">
            <results>
              <test-case description="Should check my sanity" name="ConvertTo-LMStudioFunctionDefinition.Should check my sanity" time="0.0619" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should invoke function properly" name="ConvertTo-LMStudioFunctionDefinition.Should invoke function properly" time="0.819" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioLoadedModelList.Tests.ps1" executed="True" result="Success" success="True" time="1.747" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioLoadedModelList.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Get-LMStudioLoadedModelList basic functionality test" executed="True" result="Success" success="True" time="1.6677" asserts="0" description="Get-LMStudioLoadedModelList basic functionality test">
            <results>
              <test-case description="Should return loaded models from LM Studio" name="Get-LMStudioLoadedModelList basic functionality test.Should return loaded models from LM Studio" time="0.4167" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should have *-tool-use model present" name="Get-LMStudioLoadedModelList basic functionality test.Should have *-tool-use model present" time="1.0957" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioModelList.Tests.ps1" executed="True" result="Success" success="True" time="0.6896" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioModelList.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Get-LMStudioModelList functionality tests" executed="True" result="Success" success="True" time="0.5931" asserts="0" description="Get-LMStudioModelList functionality tests">
            <results>
              <test-suite type="TestFixture" name="Get-LMStudioModelList functionality tests.Basic functionality" executed="True" result="Success" success="True" time="0.589" asserts="0" description="Get-LMStudioModelList functionality tests.Basic functionality">
                <results>
                  <test-case description="Should return models with required properties" name="Get-LMStudioModelList functionality tests.Basic functionality.Should return models with required properties" time="0.2928" asserts="0" success="True" result="Success" executed="True" />
                  <test-case description="Should be able to find qwen-7b model if present" name="Get-LMStudioModelList functionality tests.Basic functionality.Should be able to find qwen-7b model if present" time="0.2917" asserts="0" success="True" result="Success" executed="True" />
                </results>
              </test-suite>
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioPaths.Tests.ps1" executed="True" result="Success" success="True" time="0.0866" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioPaths.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Get-LMStudioPaths basic integration tests" executed="True" result="Success" success="True" time="0.0215" asserts="0" description="Get-LMStudioPaths basic integration tests">
            <results>
              <test-case description="Returns valid default paths that exist on the system" name="Get-LMStudioPaths basic integration tests.Returns valid default paths that exist on the system" time="0.0172" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Initialize-LMStudioModel.Tests.ps1" executed="True" result="Success" success="True" time="3.1566" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Initialize-LMStudioModel.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Initialize-LMStudioModel integration tests" executed="True" result="Success" success="True" time="3.0843" asserts="0" description="Initialize-LMStudioModel integration tests">
            <results>
              <test-case description="Should initialize a model by name" name="Initialize-LMStudioModel integration tests.Should initialize a model by name" time="0.9512" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should initialize with window visible" name="Initialize-LMStudioModel integration tests.Should initialize with window visible" time="1.1357" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should fall back to preferred models if specified not found" name="Initialize-LMStudioModel integration tests.Should fall back to preferred models if specified not found" time="0.8361" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Invoke-CommandFromToolCall.Tests.ps1" executed="True" result="Success" success="True" time="0.7631" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Invoke-CommandFromToolCall.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Invoke-CommandFromToolCall parameter validation tests" executed="True" result="Success" success="True" time="0.6872" asserts="0" description="Invoke-CommandFromToolCall parameter validation tests">
            <results>
              <test-case description="Should execute command with basic parameters" name="Invoke-CommandFromToolCall parameter validation tests.Should execute command with basic parameters" time="0.3971" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Invoke-LLMQuery.Tests.ps1" executed="True" result="Success" success="True" time="760.9912" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Invoke-LLMQuery.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Invoke-LLMQuery tests" executed="True" result="Success" success="True" time="760.8917" asserts="0" description="Invoke-LLMQuery tests">
            <results>
              <test-case description="Should test the the callback functions and parameter passing on model qwen" name="Invoke-LLMQuery tests.Should test the the callback functions and parameter passing on model qwen" time="332.4542" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should test the the callback functions and parameter passing on model llama-3-groq-8b-tool-use" name="Invoke-LLMQuery tests.Should test the the callback functions and parameter passing on model llama-3-groq-8b-tool-use" time="333.0594" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should test the the callback functions on model qwen" name="Invoke-LLMQuery tests.Should test the the callback functions on model qwen" time="52.3176" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should test the the callback functions on model llama-3-groq-8b-tool-use" name="Invoke-LLMQuery tests.Should test the the callback functions on model llama-3-groq-8b-tool-use" time="42.8973" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Start-LMStudioApplication.Tests.ps1" executed="True" result="Success" success="True" time="2.1608" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Start-LMStudioApplication.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Start-LMStudioApplication functionality tests" executed="True" result="Success" success="True" time="2.055" asserts="0" description="Start-LMStudioApplication functionality tests">
            <results>
              <test-case description="Should successfully start LM Studio application with default settings" name="Start-LMStudioApplication functionality tests.Should successfully start LM Studio application with default settings" time="2.0504" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioInstallation.Tests.ps1" executed="True" result="Success" success="True" time="0.1046" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioInstallation.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Test-LMStudioInstallation function tests" executed="True" result="Success" success="True" time="0.0184" asserts="0" description="Test-LMStudioInstallation function tests">
            <results>
              <test-case description="Should verify LM Studio is properly installed and accessible" name="Test-LMStudioInstallation function tests.Should verify LM Studio is properly installed and accessible" time="0.0136" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioProcess.Tests.ps1" executed="True" result="Success" success="True" time="0.1145" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.114.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioProcess.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Test-LMStudioProcess basic functionality" executed="True" result="Success" success="True" time="0.0319" asserts="0" description="Test-LMStudioProcess basic functionality">
            <results>
              <test-case description="Should return true when LMStudio process is running" name="Test-LMStudioProcess basic functionality.Should return true when LMStudio process is running" time="0.0274" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results>