Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/PowerShell/PowerShell-Tests
Pester based tests for testing PowerShell
https://github.com/PowerShell/PowerShell-Tests
Last synced: 3 months ago
JSON representation
Pester based tests for testing PowerShell
- Host: GitHub
- URL: https://github.com/PowerShell/PowerShell-Tests
- Owner: PowerShell
- License: mit
- Created: 2015-08-19T20:14:54.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T07:55:04.000Z (about 7 years ago)
- Last Synced: 2024-05-23T00:31:21.975Z (6 months ago)
- Language: PowerShell
- Size: 154 KB
- Stars: 128
- Watchers: 30
- Forks: 25
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Security: Security/Pester.Acl.Tests.ps1
Awesome Lists containing this project
- jimsghstars - PowerShell/PowerShell-Tests - Pester based tests for testing PowerShell (PowerShell)
README
# PowerShell-Tests
*NOTE* This repo has been superceded by [PowerShell/PowerShell](https://github.com/PowerShell/PowerShell/tree/master/test) and will be deleted by Sept 1st, 2017
This project represents a selection of tests that the PowerShell team
uses when testing PowerShell. More than 12 years of active
development on PowerShell, we have created many different script based
test frameworks. Early in 2015 we started the migration process of our
internally created script based framework tests to the [Pester
framework](https://github.com/pester/Pester) and this project represents
the early fruits of that labor. Our plan is to continue to migrate our
current tests and release them in this Project, with the aim of having all
of our tests available in the OSS community using OSS test frameworks.We believe that by releasing these tests, our community can better understand
how we test, use these as models to better understand PowerShell, and
participate with us as we release future versions.Some of the tests have either been _Skipped_ or marked as _Pending_, we
expect that these tests will be activated as product changes are made available
in future releases.# Feedback
This project will grow over time, but we are currently not able to take
pull requests, but we _do_ want your input. If you find issues or other
misbehavior, please create an issue and we will review them to see how we can
address it.# Invoking the tests
You can either clone the project, or download a ZIP. Once the tests have
been placed on your system, you can invoke them as you invoke any other
Pester test:
```
PS> Invoke-Pester
```
Because a number of our tests create local sessions, it is suggested (for
now) that you run the tests in an elevated PowerShell session as non-admins,
by default, will not have the appropriate permissions.