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="6" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2025-02-10" time="21:07:13">
  <environment clr-version="9.0.1" user="renev" cwd="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025" os-version="10.0.26100" nunit-version="2.5.8.0" platform="Microsoft Windows 11 Pro|C:\WINDOWS|\Device\Harddisk0\Partition3" machine-name="ATMOSMAIN" 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="953.5414" asserts="0" description="Pester">
    <results>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI\Add-EmoticonsToText.Tests.ps1" executed="True" result="Success" success="True" time="10.302" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI\Add-EmoticonsToText.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Add-EmoticonsToText" executed="True" result="Success" success="True" time="10.22" asserts="0" description="Add-EmoticonsToText">
            <results>
              <test-case description="Should use custom instructions" name="Add-EmoticonsToText.Should use custom instructions" time="10.2158" 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.106.2025\Tests\GenXdev.AI\Get-TextTranslation.Tests.ps1" executed="True" result="Success" success="True" time="25.244" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI\Get-TextTranslation.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Get-TextTranslation" executed="True" result="Success" success="True" time="25.191" 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="16.8416" 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="8.3317" 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.106.2025\Tests\GenXdev.AI\New-TextLLMChat.Tests.ps1" executed="True" result="Failure" success="False" time="638.426" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI\New-TextLLMChat.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="New-TextLLMChat - Test default ExposedCmdlets" executed="True" result="Failure" success="False" time="638.378" asserts="0" description="New-TextLLMChat - Test default ExposedCmdlets">
            <results>
              <test-case description="Should test basic functionality" name="New-TextLLMChat - Test default ExposedCmdlets.Should test basic functionality" time="638.1864" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpIOException: The response ended prematurely. (ResponseEnded)
HttpRequestException: An error occurred while sending the request.</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:801
at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:880
at New-TextLLMChat&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI\New-TextLLMChat.ps1:318
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI\New-TextLLMChat.Tests.ps1:11</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.106.2025\Tests\GenXdev.AI\Start-AudioTranscription.Tests.ps1" executed="True" result="Success" success="True" time="1.2451" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI\Start-AudioTranscription.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Start-AudioTranscription" executed="True" result="Success" success="True" time="1.1748" 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="1.17" 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.106.2025\Tests\GenXdev.AI.LMStudio\ConvertTo-LMStudioFunctionDefinition.Tests.ps1" executed="True" result="Failure" success="False" time="0.0689" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\ConvertTo-LMStudioFunctionDefinition.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="ConvertTo-LMStudioFunctionDefinition" executed="True" result="Failure" success="False" time="0.0249" asserts="0" description="ConvertTo-LMStudioFunctionDefinition">
            <results>
              <test-case description="Should check my sanity" name="ConvertTo-LMStudioFunctionDefinition.Should check my sanity" time="0.0029" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should invoke function properly" name="ConvertTo-LMStudioFunctionDefinition.Should invoke function properly" time="0.0167" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>ParameterBindingException: A parameter cannot be found that matches parameter name 'NoConfirmationToolFunctionNames'.</message>
                  <stack-trace>at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\ConvertTo-LMStudioFunctionDefinition.Tests.ps1:31</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.106.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioLoadedModelList.Tests.ps1" executed="True" result="Success" success="True" time="11.7778" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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="11.7364" 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.4475" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should have qwen*-instruct model present" name="Get-LMStudioLoadedModelList basic functionality test.Should have qwen*-instruct model present" time="11.098" 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.106.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioModelList.Tests.ps1" executed="True" result="Success" success="True" time="0.6369" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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.5945" 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.5914" 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.2746" 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.3112" 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.106.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioPaths.Tests.ps1" executed="True" result="Success" success="True" time="0.0558" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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.007" 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.0033" 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.106.2025\Tests\GenXdev.AI.LMStudio\Initialize-LMStudioModel.Tests.ps1" executed="True" result="Success" success="True" time="5.2536" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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="5.2095" 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="1.7569" 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.6603" 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="1.6136" 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.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-CommandFromToolCall.Tests.ps1" executed="True" result="Failure" success="False" time="0.2347" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-CommandFromToolCall.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Invoke-CommandFromToolCall parameter validation tests" executed="True" result="Failure" success="False" time="0.1553" 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" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>This test should run but it did not. Most likely a setup in some parent block failed.</message>
                  <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.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1" executed="True" result="Failure" success="False" time="258.07" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Invoke-LMStudioQuery tests" executed="True" result="Failure" success="False" time="258.031" asserts="0" description="Invoke-LMStudioQuery tests">
            <results>
              <test-case description="Should test the the callback functions and parameter passing on model qwen" name="Invoke-LMStudioQuery tests.Should test the the callback functions and parameter passing on model qwen" time="64.188" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpIOException: The response ended prematurely. (ResponseEnded)
HttpRequestException: An error occurred while sending the request.</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:801
at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:880
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1:76</stack-trace>
                </failure>
              </test-case>
              <test-case description="Should test the the callback functions and parameter passing on model llama-3-groq-8b-tool-use" name="Invoke-LMStudioQuery tests.Should test the the callback functions and parameter passing on model llama-3-groq-8b-tool-use" time="113.8513" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpIOException: The response ended prematurely. (ResponseEnded)
HttpRequestException: An error occurred while sending the request.</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:801
at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:880
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1:119</stack-trace>
                </failure>
              </test-case>
              <test-case description="Should test the the callback functions on model qwen" name="Invoke-LMStudioQuery tests.Should test the the callback functions on model qwen" time="29.2493" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpIOException: The response ended prematurely. (ResponseEnded)
HttpRequestException: An error occurred while sending the request.</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:801
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1:144</stack-trace>
                </failure>
              </test-case>
              <test-case description="Should test the the callback functions on model llama-3-groq-8b-tool-use" name="Invoke-LMStudioQuery tests.Should test the the callback functions on model llama-3-groq-8b-tool-use" time="50.5695" 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.106.2025\Tests\GenXdev.AI.LMStudio\Start-LMStudioApplication.Tests.ps1" executed="True" result="Success" success="True" time="2.1103" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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.0646" 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.0513" 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.106.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioInstallation.Tests.ps1" executed="True" result="Success" success="True" time="0.0435" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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.005" 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.0019" 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.106.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioProcess.Tests.ps1" executed="True" result="Success" success="True" time="0.073" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.106.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.0236" 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.0175" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results>