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="21" errors="0" failures="3" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2025-02-08" time="21:14:00">
  <environment clr-version="9.0.1" user-domain="ATMOSMAIN" os-version="10.0.26100" cwd="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025" nunit-version="2.5.8.0" machine-name="ATMOSMAIN" platform="Microsoft Windows 11 Pro|C:\WINDOWS|\Device\Harddisk0\Partition3" user="renev" />
  <culture-info current-culture="en-150" current-uiculture="en-GB" />
  <test-suite type="TestFixture" name="Pester" executed="True" result="Failure" success="False" time="178.8705" asserts="0" description="Pester">
    <results>
      <test-suite type="TestFixture" name="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI\Add-EmoticonsToText.Tests.ps1" executed="True" result="Success" success="True" time="12.1629" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI\Add-EmoticonsToText.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Add-EmoticonsToText" executed="True" result="Success" success="True" time="11.5805" asserts="0" description="Add-EmoticonsToText">
            <results>
              <test-case description="Should use custom instructions" name="Add-EmoticonsToText.Should use custom instructions" time="11.4904" 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.104.2025\Tests\GenXdev.AI\Get-TextTranslation.Tests.ps1" executed="True" result="Success" success="True" time="27.7331" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI\Get-TextTranslation.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Get-TextTranslation" executed="True" result="Success" success="True" time="27.6617" 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="18.1175" 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.5399" 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.104.2025\Tests\GenXdev.AI\Start-AudioTranscription.Tests.ps1" executed="True" result="Success" success="True" time="2.8862" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI\Start-AudioTranscription.Tests.ps1">
        <results>
          <test-suite type="TestFixture" name="Start-AudioTranscription" executed="True" result="Success" success="True" time="2.5898" 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.5847" 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.104.2025\Tests\GenXdev.AI.LMStudio\ConvertTo-LMStudioFunctionDefinition.Tests.ps1" executed="True" result="Success" success="True" time="0.5016" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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.4204" asserts="0" description="ConvertTo-LMStudioFunctionDefinition">
            <results>
              <test-case description="Should check my sanity" name="ConvertTo-LMStudioFunctionDefinition.Should check my sanity" time="0.0624" asserts="0" success="True" result="Success" executed="True" />
              <test-case description="Should invoke function properly" name="ConvertTo-LMStudioFunctionDefinition.Should invoke function properly" time="0.3474" 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.104.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioLoadedModelList.Tests.ps1" executed="True" result="Success" success="True" time="2.4866" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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="2.4171" 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.4171" 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="1.7673" 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.104.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioModelList.Tests.ps1" executed="True" result="Success" success="True" time="0.6945" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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.5961" 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.593" 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.297" 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.2922" 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.104.2025\Tests\GenXdev.AI.LMStudio\Get-LMStudioPaths.Tests.ps1" executed="True" result="Success" success="True" time="0.1017" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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.0214" 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.0178" 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.104.2025\Tests\GenXdev.AI.LMStudio\Initialize-LMStudioModel.Tests.ps1" executed="True" result="Success" success="True" time="14.2857" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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="14.2057" 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.6153" 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.5669" 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="10.8233" 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.104.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1" executed="True" result="Failure" success="False" time="115.6914" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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="115.5934" 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="38.9125" 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-LMStudioQuery tests.Should test the the callback functions and parameter passing on model llama-3-groq-8b-tool-use" time="24.2761" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpResponseException: Response status code does not indicate success: 400 (Bad Request).</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:766
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1:113</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="28.0295" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpResponseException: Response status code does not indicate success: 400 (Bad Request).</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:766
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1:130</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="24.1783" asserts="0" success="False" result="Failure" executed="True">
                <failure>
                  <message>HttpResponseException: Response status code does not indicate success: 400 (Bad Request).</message>
                  <stack-trace>at Invoke-LMStudioQuery&lt;Process&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Functions\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.ps1:766
at &lt;ScriptBlock&gt;, C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.2025\Tests\GenXdev.AI.LMStudio\Invoke-LMStudioQuery.Tests.ps1:146</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.104.2025\Tests\GenXdev.AI.LMStudio\Start-LMStudioApplication.Tests.ps1" executed="True" result="Success" success="True" time="2.1305" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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.0559" 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.0523" 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.104.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioInstallation.Tests.ps1" executed="True" result="Success" success="True" time="0.0955" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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.0185" 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.0151" 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.104.2025\Tests\GenXdev.AI.LMStudio\Test-LMStudioProcess.Tests.ps1" executed="True" result="Success" success="True" time="0.1008" asserts="0" description="C:\Users\renev\Documents\PowerShell\Modules\GenXdev.AI\1.104.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.0303" 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.0265" asserts="0" success="True" result="Success" executed="True" />
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results>