Juju Powershell utilities
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
JujuHelper
JujuHooks
JujuLogging
JujuUtils
JujuWindowsUtils
Networking
Templating
help
powershell-yaml @ 35436e2
.gitmodules
Changelog.md
README.md
appveyor.yml

README.md

Build status

#Juju PowerShell Modules

This repository contains common used logic for Windows Juju charms

How to run tests

You will need pester on your system. It should already be installed on your system if you are running Windows 10. If it is not:

Install-Package Pester

Running the actual tests (they must be run with administrative privileges):

powershell.exe -NonInteractive {Invoke-Pester}

This will run all tests without polluting your current shell environment. The -NonInteractive flag will make sure that any test that checks for mandatory parameters will not block the tests if run in an interactive session. This is not needed if you run this in a CI.