Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add DbaAgentSchedule tests #5396

Merged
merged 2 commits into from
Apr 22, 2019

Conversation

joshcorr
Copy link
Contributor

Type of Change

  • Bug fix (non-breaking change, fixes #)
  • New feature (non-breaking change, adds functionality)
  • Breaking change (effects multiple commands or functionality)
  • Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
  • Adding code coverage to existing functionality
  • Pester test is included
  • If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
  • Nunit test is included
  • Documentation
  • Build system

Purpose

Include Tests for cmdlets with the noun DbaAgentSchedule which previously had 0 code coverage.

Approach

Created a bunch of schedules to iterate through all options on parameters.

Commands to test

Invoke-Pester .\New-DbaAgentSchedule.Tests.ps1
Invoke-Pester .\Remove-DbaAgentSchedule.Tests.ps1
Invoke-Pester .\Set-DbaAgentSchedule.Tests.ps1

@potatoqualitee
Copy link
Member

test failed elsewhere 🍌 💃

@potatoqualitee potatoqualitee merged commit 6c2137c into dataplat:development Apr 22, 2019
@potatoqualitee
Copy link
Member

thank you so very very much 🙇

@joshcorr joshcorr deleted the add-agentschedule-tests branch April 23, 2019 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants