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

xVhdFileDirectory Unit Tests #180

Merged
merged 9 commits into from
Jan 30, 2020
Merged

xVhdFileDirectory Unit Tests #180

merged 9 commits into from
Jan 30, 2020

Conversation

dacarab
Copy link

@dacarab dacarab commented Jan 13, 2020

Pull Request (PR) description

PR that adds some basic initial unit tests for the xVhdFileDirectory resource. There is a bug that I'd like to fix around copying to VHDs with multiple partitions - before I look into that, I'd like to put some unit tests in place.

I have not covered off tests for any of the private functions within the resource as of yet, as I may propose to change a couple.

This Pull Request (PR) fixes the following issues

Task list

  • Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
    Entry should say what was changed, and how that affects users (if applicable).
  • Resource documentation added/updated in README.md.
  • Resource parameter descriptions added/updated in README.md, schema.mof
    and comment-based help.
  • Comment-based help added/updated.
  • Localization strings added/updated in all localization files as appropriate.
  • Examples appropriately added/updated.
  • Unit tests added/updated. See DSC Resource Testing Guidelines.
  • Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
  • New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is Reviewable

@codecov
Copy link

codecov bot commented Jan 13, 2020

Codecov Report

Merging #180 into dev will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@         Coverage Diff         @@
##            dev   #180   +/-   ##
===================================
  Coverage    83%    83%           
===================================
  Files        11     11           
  Lines      1401   1401           
===================================
  Hits       1166   1166           
  Misses      235    235

@johlju
Copy link
Member

johlju commented Jan 29, 2020

@mcollera or @aromano2 you are listed as maintainers for this module. Do you have time to review this one?

@aromano2
Copy link

@johlju yes looking at it now, thanks!

Copy link

@aromano2 aromano2 left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 1 of 1 files at r2, 1 of 1 files at r3.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@aromano2 aromano2 merged commit e2def86 into dsccommunity:dev Jan 30, 2020
johlju pushed a commit that referenced this pull request Mar 19, 2020
* xVhdFileDirectory initial unit tests added

* xVhdFileDirectory unit tests, added GetFreeDriveLetter

* Updated CHANGELOG.md

* xVhdFileDirectory unit test style fixes

* xVhdFileDirectory fixed unit tests for appveyor

* xVhdFileDirectory additional unit tests

* xVhdFileDirectory unit tests - tidy-up & Get-FreeDrive fix

* xVhdFileDirectory unit tests - fixed 'Describe' block description

* Merge branch 'dev' into xVhdFileDirectory_UnitTests
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.

3 participants