Comments (4)
@AndrewSav @scottmuc I believe this issue is resolved by the current New-Fixture function:
PS C:\dev\test> New-Fixture -Name bla
Directory: C:\dev\test
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 3/10/2014 9:00 AM 24 bla.ps1
-a--- 3/10/2014 9:00 AM 247 bla.Tests.ps1
PS C:\dev\test> cat .\bla.ps1
function bla {
}
PS C:\dev\test> cat .\bla.Tests.ps1
$here = Split-Path -Parent $MyInvocation.MyCommand.Path
$sut = (Split-Path -Leaf $MyInvocation.MyCommand.Path).Replace(".Tests.", ".")
. "$here\$sut"
Describe "#bla#" {
It "does something useful" {
$true | Should Be $false
}
}
from pester.
I also just fixed the help: 9b54cc9
from pester.
Does the current version of New-Fixture output #bla# (including the #s) in the Describe description? If so that is definitely not correct and I am the one to blame.
from pester.
Fixed.
from pester.
Related Issues (20)
- Failure in Discovery when using different parameters across files HOT 3
- Select-Object and New-MockObject - Discarded PSObject HOT 2
- Mock CommandNotFoundException: Could not find Command Invoke-Sqlcmd HOT 4
- 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
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.