Comments (8)
I started a discussion on this somewheres... and that was in email (just looked).
from pester.
The email from awhile back... (Late April 2012):
"My recent presentation on pester (April 2012): http://bit.ly/powershellbdd
You may have noticed I started thinking about putting together a mocking framework, but after quite a bit of thought, I think it might be better as part of pester itself. Typically the testing framework and the mocking framework are completely separate, but in the case of powershell it might be better served as one unit. I started looking into it, but before going further, I'd like to get your thoughts."
from pester.
Yeah. I agree that in this case it seems to make more sense to bake directly into Pester. Without a proper DI mechanism which is overkill for PS IMHO, having mocking decoupled from the test framework doesn't make sense.
from pester.
I even started some code on this but never went further.
from pester.
Did you start a repo or fork for it? Anything you think is worth starting with. I'm not sure when I would start, I want to wrap up the Chocolatey bootstraper (at least a v.1) before starting anything new but I also see this as a fairly smal effort to get in a working state. Then again, I've said that before embarcing on multi month coding projects where I suddenly wonder why I'm googling for calculus formulas.
Note to self: If you are using calculus in a PS mocking framework, you are doing it wrong.
from pester.
I didn't even make it that far.
from pester.
I have it sitting uncommitted in a repo - it's not really much at all.
from pester.
This is now commited. with fd0a9fe
from pester.
Related Issues (20)
- Bring back 'InconclusiveCount' property (or alternative) on returned Pester.Run object HOT 19
- Iām not a developer I run a nonprofit and a Pester Power Shell is running HOT 2
- Pester stopped working in vscode HOT 1
- v5.5 $____Pester.CurrentTest not populated in AfterEach HOT 4
- Missing timestamp from test suite attributes in junit xml export HOT 1
- Unbound container scriptblock unexpectedly runs in Pester scope HOT 10
- Pester 5.5 reports incorrect Skipped results for Pending and Inconclusive HOT 3
- BeOfType doesn't see types, loaded from a file with classes, but the "It" function - does HOT 3
- Refer to a script in a parent directory HOT 2
- Does somthing like @afterstep exist for Pester 4.6 with Invoke Gherkin HOT 1
- New-RandomTempRegistry: Test-Path : No more data is available HOT 2
- Provide a way to more easily modify a mocked parameter before comparing with a test value. HOT 3
- Error during handling of output-element within Write-NUnit3OutputElement HOT 1
- SkipRemainingOnFailure does not function correctly when there are nested BeforeAll blocks HOT 4
- Support shuffling / randomized test runs HOT 7
- Templates in test names do not expand variables when skipped HOT 8
- Add test count to minimal view HOT 4
- Remove -Pending from Set-ItResult HOT 2
- Remove legacy Should Syntax
- Certificate warning when upgrading to 5.6.0-beta1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pester.