Skip to content

Commit

Permalink
Removes unnecessary assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
csandfeld committed Apr 5, 2024
1 parent 82e93f3 commit 6cf60c6
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tst/Pester.RSpec.TestResults.NUnit3.ts.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -167,16 +167,10 @@ i -PassThru:$PassThru {
$xmlTestCase2 = $xmlTestSuite.'test-case'[1]

$xmlTestCase1.name | Verify-Equal 'Describe 1.Skipped testcase'
$xmlTestCase1.methodname | Verify-Equal 'Skipped testcase'
$xmlTestCase1.classname | Verify-Equal 'Describe 1'
$xmlTestCase1.fullname | Verify-Equal 'Describe 1.Skipped testcase'
$xmlTestCase1.result | Verify-Equal 'Skipped'
$xmlTestCase1.duration | Verify-XmlTime $r.Containers[0].Blocks[0].Tests[0].Duration

$xmlTestCase2.name | Verify-Equal 'Describe 2.Skipped testcase'
$xmlTestCase2.methodname | Verify-Equal 'Skipped testcase'
$xmlTestCase2.classname | Verify-Equal 'Describe 2'
$xmlTestCase2.fullname | Verify-Equal 'Describe 2.Skipped testcase'
$xmlTestCase2.result | Verify-Equal 'Skipped'
$xmlTestCase2.duration | Verify-XmlTime $r.Containers[0].Blocks[1].Tests[0].Duration
}
Expand All @@ -194,9 +188,6 @@ i -PassThru:$PassThru {
$xmlResult = $r | ConvertTo-NUnitReport -Format NUnit3
$xmlTestCase = $xmlResult.'test-run'.'test-suite'.'test-suite'.'test-case'
$xmlTestCase.name | Verify-Equal 'Describe.Inconclusive testcase'
$xmlTestCase.methodname | Verify-Equal 'Inconclusive testcase'
$xmlTestCase.classname | Verify-Equal 'Describe'
$xmlTestCase.fullname | Verify-Equal 'Describe.Inconclusive testcase'
$xmlTestCase.result | Verify-Equal 'Inconclusive'
$xmlTestCase.duration | Verify-XmlTime $r.Containers[0].Blocks[0].Tests[0].Duration
}
Expand Down

0 comments on commit 6cf60c6

Please sign in to comment.