-
I must be missing something simple because I feel really close.
I have defined a new `PesterBeDate` function and failure functions. According to what I see in the Should assertion source, it should b…
-
Add PSScriptAnalyzer analyzer rules to be used as a part of pre-release checks:
- PSAvoidUsingCmdletAliases
- PSUseDeclaredVarsMoreThanAssignments
- PSUseOutputTypeCorrectly
- PSAvoidDefaultValueF…
-
On Emacs 24.4 and later, `assert` (which is `cl-assert`) directly calls the debug function on failure:
```emacs-lisp
(defun cl--assertion-failed (form &optional string sargs args)
(if debug-on-…
-
I'm trying to figure out what I missed in the code below:
**Find-Waldo.Tests.ps1**
```
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.…
-
Would you guys like gherkin support?
I've got this working on top of pester:
http://poshcode.com/paste/445/
**Disclaimer 1:** I just started playing with the idea yesterday.
**Disclaimer 2:** It us…
-
I've been using [Richard Berg's style guide](http://tfstoys.codeplex.com/SourceControl/changeset/view/33350#Modules/RichardBerg-Misc/Style.ps1) for normal powershell code. It has helped a great deal …
alx9r updated
7 years ago
-
Some of the assertions are failing now with Pester v4. See the build here:
https://ci.appveyor.com/project/DexterPOSH/psremotely/build/1.0.52
-
As highlighted by [this issue](https://github.com/pester/Pester/issues/702), there are some changes in the way `Should Be` works. At the current point the `$Actual` side of the assertion determines th…
-
When trying to use the `BeLessThen` comparison i get an error that it is not a valid `Should` operator.
```
PS C:\> Describe "BeLessThen" {
$value = 3
It "Value should not be less then 3…
-
The throw condition is a case sensitive match on any string you pass to it. For example:
```
{ throw "Luke Skywalker" } | Should throw "luke skywalker"
```
Fails. Whereas:
```
{ throw "Luke Skywalk…
pauby updated
7 years ago