Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

DscResource.Template: Update the integrate test template #15

Merged
merged 2 commits into from
Mar 22, 2019

Conversation

johlju
Copy link
Contributor

@johlju johlju commented Mar 17, 2019

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the TEMPLATE_README.md.

This change is Reviewable

johlju added 2 commits March 17, 2019 10:10
- Update the integrate test `'Should return $true when Test-DscConfiguration
  is run'` that did not fail correctly if `Test-DscConfiguration` returned
  'False' (issue PowerShell#14).
- Updated some comments in files that wrongly referenced a non-existent
  module.
@johlju johlju requested a review from gaelcolas March 17, 2019 09:27
@johlju johlju added the needs review The pull request needs a code review. label Mar 17, 2019
@gaelcolas gaelcolas self-assigned this Mar 21, 2019
Copy link

@gaelcolas gaelcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 7 of 7 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @johlju)


Tests/Integration/MSFT_Folder.Integration.Tests.ps1, line 39 at r1 (raw file):

    Describe "$($script:dscResourceName)_Integration" {
        BeforeAll {
            $resourceId = "[$($script:dscResourceFriendlyName)]Integration_Test"

It's ok, but I wanna chat to you about this before merging ;)

Copy link

@gaelcolas gaelcolas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@gaelcolas gaelcolas merged commit 2cc2000 into PowerShell:master Mar 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs review The pull request needs a code review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration test 'Should return $true when Test-DscConfiguration is run' does not fail
2 participants