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 Coverage reports #30

Merged
merged 11 commits into from Nov 8, 2017
Merged

Conversation

felixfbecker
Copy link
Collaborator

Adds uploads to https://codecov.io/gh/aaronpowell/ps-nvmw (you'd need to enable it)

This PR is based off #29, coverage is added in the last commit

@aaronpowell
Copy link
Owner

ooops, merge conflict!

@aaronpowell aaronpowell merged commit e9f0bec into aaronpowell:pester-tests Nov 8, 2017
@felixfbecker felixfbecker deleted the coverage branch November 8, 2017 09:47
aaronpowell added a commit that referenced this pull request Nov 8, 2017
* Decided to try my hand at tests with pester for #27

* First crack at travis integration

* trying to not use ruby

* Adding appveyor support

* nice work on the yml file Aaron...

* installing pester

* using the vs2017 image as that seems to be the only one with Server 2016

* Trying to force the install of Pester

* Trying to work out what PS version we have

* More coverage in the install cmdlet

* Adding some tests for Set-NodeVersion

* Moving the install tests behind an environment variable
This means that the local test run is a lot faster on the unit tests
Updating appveyor to handle this

* Trying to use the built in PS variables for OS detection
These are only in PS Core, so we have to test for them first
My if guards might not be right though...

* Fixing my mock that would break the OS tests

* Missing a mock

* more appveyor debugging

* removing a context

* Some work to address #23 and enabling fuzzy install

* Removing the direct usage of OSArchitecture and making it so it should only run under PSCore

* removing debugging messages from appveyor config

* Updating the editor config

* Add Travis (#29)

* Add Travis

* Install fork

* Use HTTPS

* Add Homebrew cache

* Clone Pester into home folder

otherwise it runs Pester's test suite

* Replace C:\tmp with GetTempPath()

* Fix paths on *nix

* Improving how the build status is show

* Add Coverage reports (#30)

* Add Travis

* Install fork

* Use HTTPS

* Add Homebrew cache

* Clone Pester into home folder

otherwise it runs Pester's test suite

* Replace C:\tmp with GetTempPath()

* Fix paths on *nix

* Add Codecov

* Correct arguments

* Revert version number change
@felixfbecker
Copy link
Collaborator Author

@felixfbecker
Copy link
Collaborator Author

Ahh, Pester only outputs a summary that is not understood at all by codecov...

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.0//EN" "report.dtd">
<report name="Pester (11/08/2017 02:20:00)"><sessioninfo id="this" start="1510107595764" dump="1510107600257" /><counter type="INSTRUCTION" missed="105" covered="53" /><counter type="LINE" missed="80" covered="36" /><counter type="METHOD" missed="6" covered="4" /><counter type="CLASS" missed="0" covered="1" /></report>

@felixfbecker
Copy link
Collaborator Author

pester/Pester#212

@aaronpowell
Copy link
Owner

Oh rats 😢

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.

None yet

2 participants