policy.test.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="Policy Initiative Tests" total="10" errors="0" failures="0" not-run="0" inconclusive="0" ignored="0" skipped="0" invalid="0" date="2024-04-24" time="12:16:04">
  <environment nunit-version="2.5.8.0" user-domain="" user="tao" platform="Darwin" os-version="23.4.0" clr-version="8.0.4" cwd="/Users/tao/git/AzPolicyTest/AzPolicyTest" machine-name="Taos-Work-MacBook.local" />
  <culture-info current-culture="en-AU" current-uiculture="en-AU" />
  <test-suite type="TestFixture" name="Policy Initiative Tests" executed="True" result="Success" success="True" time="0.1495" asserts="0" description="Pester">
    <results>
      <test-suite type="TestFixture" name="/Users/tao/git/AzPolicyTest/AzPolicyTest/policySetDefStructure.tests.ps1" executed="True" result="Success" success="True" time="0.1495" asserts="0" description="/Users/tao/git/AzPolicyTest/AzPolicyTest/policySetDefStructure.tests.ps1">
        <results>
          <test-suite type="TestFixture" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test" executed="True" result="Success" success="True" time="0.0423" asserts="0" description="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test">
            <results>
              <test-suite type="TestFixture" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Required Top-Level Elements Test" executed="True" result="Success" success="True" time="0.0032" asserts="0" description="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Required Top-Level Elements Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - name" executed="True" result="Success" success="True" time="0.0013" asserts="0" description="Should contain top-level element - name">
                    <results>
                      <test-case description="Should contain top-level element - name" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - name(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0013" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Should contain top-level element - properties">
                    <results>
                      <test-case description="Should contain top-level element - properties" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Required Top-Level Elements Test.Should contain top-level element - properties(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0009" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test" executed="True" result="Success" success="True" time="0.018" asserts="0" description="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not be null" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Name value must not be null">
                    <results>
                      <test-case description="Name value must not be null" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not be null(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0009" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not be longer than 64 characters" executed="True" result="Success" success="True" time="0.0034" asserts="0" description="Name value must not be longer than 64 characters">
                    <results>
                      <test-case description="Name value must not be longer than 64 characters" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not be longer than 64 characters(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0034" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not contain spaces" executed="True" result="Success" success="True" time="0.0035" asserts="0" description="Name value must not contain spaces">
                    <results>
                      <test-case description="Name value must not contain spaces" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not contain spaces(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0035" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not contain forbidden characters" executed="True" result="Success" success="True" time="0.0034" asserts="0" description="Name value must not contain forbidden characters">
                    <results>
                      <test-case description="Name value must not contain forbidden characters" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Set Definition Elements Value Test.Name value must not contain forbidden characters(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0034" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
              <test-suite type="TestFixture" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test" executed="True" result="Success" success="True" time="0.041" asserts="0" description="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test">
                <results>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element" executed="True" result="Success" success="True" time="0.0136" asserts="0" description="Properties must contain 'description' element">
                    <results>
                      <test-case description="Properties must contain 'description' element" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'description' element(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0136" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element" executed="True" result="Success" success="True" time="0.0009" asserts="0" description="Properties must contain 'metadata' element">
                    <results>
                      <test-case description="Properties must contain 'metadata' element" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'metadata' element(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0009" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element" executed="True" result="Success" success="True" time="0.0035" asserts="0" description="Properties must contain 'displayName' element">
                    <results>
                      <test-case description="Properties must contain 'displayName' element" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.Properties must contain 'displayName' element(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0035" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                  <test-suite type="ParameterizedTest" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be longer than 128 characters" executed="True" result="Success" success="True" time="0.0034" asserts="0" description="'DisplayName' value must not be longer than 128 characters">
                    <results>
                      <test-case description="'DisplayName' value must not be longer than 128 characters" name="[./test_definitions/initiatives/polset-tags-test.json]:: Policy Set Definition Syntax Test.Policy Definition Properties Value Test.'DisplayName' value must not be longer than 128 characters(&quot;polset-tags-test.json&quot;,@{name=polset-tags-test; properties=},&quot;./test_definitions/initiatives/polset-tags-test.json&quot;)" time="0.0034" asserts="0" success="True" result="Success" executed="True" />
                    </results>
                  </test-suite>
                </results>
              </test-suite>
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results>