fabiendibot / Pestener

Pester + Docker = <3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pestener

Pestener

Documentation Status

This version is beta, please do not use it in production right now :)

What is Pestener ?

Pestener is a new way to factorize the length of your Pester tests. Indeed, when you have so many Pester tests, it takes quite time for your build to finish. This module is here to help you reduce this time, thanks to Docker.

It use the Pester file architecture to build some new Pester test file for each describe bloc. Right now, there are limitations:

  1. You must use simple Describe or inmodulescope blocks in order to have the module Workspace.
  2. If you want to launch a script before tests, run it in a describe block.

Need some examples ?

Import-Module Pestener.psm1
Start-Pestener -PesterFile .\Tests\DSC.tests.ps1 -Workspace D:\Git\Pestener `
               -testPath D:\temp -DockerFile D:\Git\Pestener -Maintener "Fabien Dibot" -MaintenerMail "fdibot@pwrshell.net" -NewImage

Notes

Creator:

Licence Model: MIT See licence file here

Links

Pester Docker

About

Pester + Docker = <3

License:MIT License


Languages

Language:PowerShell 100.0%