JiraPS icon indicating copy to clipboard operation
JiraPS copied to clipboard

Harmonize: Tests

Open lipkau opened this issue 8 years ago • 1 comments

The current Test files have different tests, different quality, etc... This should be harmonized.

Ensure all Test files in the module:

  • [ ] have a similar quality
    • define a common set of tests for Add-*, Get-*, Invoke-*, Set-*, Remove-*, ConvertTo-*
    • some will not be able to meet the standards of most. Still, a baseline should be created even if some can't meet them
  • [ ] have the same syntax
  • [ ] have the same structure
    • Context blocks are being used very differently
  • [x] use common resources (Shared.ps1) in the same way

lipkau avatar Jun 12 '17 21:06 lipkau

This is a very good start:

  • Tests/Remove-JiraIssueAttachment.Tests.ps1
  • Tests/Add-JiraIssueAttachment.Tests.ps1

lipkau avatar Oct 22 '17 18:10 lipkau