Stéphane
Stéphane
@christophekumor Woop. Tu avais pas créer des beau snippets toi?
You understood it correctly @LaurentLienhard I also think that it is more 'user friendly' with the parameter type. The big draw back, is that that function will end up to...
Agreed, it will make testing a bit easier. (And potential bugs, would be 'isolated')
Ok, I have written a first implementation here --> https://github.com/Stephanevg/PSHTML/blob/Feature_Charts/PSHTML/Classes/Public/Chart.ps1 I have added the label 'Up-For-Grabs' so someone can potentially jump in, and finish the work.
On versio 0.7.4 code coverage is now: 60.99% (567 tests).  ```powershell File Function Line Command ---- -------- ---- ------- PSHTML.psm1 ConfigurationDocument 22 $this.Load() PSHTML.psm1 Load 39 $this.Path = $Path...
@LxLeChat C monté a 55% mec (+ 2%.. 🎉 )
C'est vraiment tout ce qui a avoir avec le 'color' la qui a foutue la merde en fait. (voir ci dessous). On a deux possibilités: 1) on ecrit un test...
@LxLeChat Tu avait pas ecrit un truc pour ceci?
Some guidance could be found here --> https://kevinmarquette.github.io/2017-03-13-Powershell-DSL-design-patterns/#restricted-dsl
Example from pester: ```powershell # in module scope $script:pester function describe () { $script:pester.EnterBlock("describe") } function it () { if ($script:pester.Block -ne "Describe") { throw "it can only be in...