Skip to content

Commit

Permalink
Examples updated to v1.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
it-praktyk committed Nov 26, 2017
1 parent 0ded7c6 commit a67b50c
Show file tree
Hide file tree
Showing 24 changed files with 1,337 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ You can be interested also in the

## Report example

![](./img/Format-Pester-1.5.0-part.png)
![](./img/Format-Pester-1.6.0-part.png)

Partial screenshot for a HTML report generated by Format-Pester v. 1.5.0, PScribo v. 0.7.15.63, [the full screenshot](./img/Format-Pester-1.5.0-full.png).
Partial screenshot for a HTML report generated by Format-Pester v. 1.6.0, PScribo v. 0.7.19, [the full screenshot](./img/Format-Pester-1.6.0-full.png).

You can find more examples [here](/examples/).

Expand Down Expand Up @@ -76,11 +76,11 @@ You can read [online version of help](/doc/Format-Pester.md) - online help gener
- Travis Plunk - [GitHub](https://github.com/TravisEz13) - [Twitter](https://twitter.com/TravisPlunk)
- Wojciech Sciesinski - [GitHub](https://github.com/it-praktyk) - [Twitter](https://twitter.com/ITpraktyk)


# [Version history](VERSIONS.md)

# [TODO and development plans](TODO.md)

# License

Copyright 2016-17 Erwan Quelin and the community.
Licensed under [the MIT License](LICENSE)
124 changes: 124 additions & 0 deletions examples/1.6.0/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
# Example files

Files generated using

- Format-Pester v. 1.6.0
- Pester v. 4.1.0
- PScribo v. 0.7.19.93

## Known issues

- The exception message "'ClassID' cannot be found" is displayed under formatitng to HTML document. Result files look like correctly rendered. - #36.

## en-US

### 20171125a

```powershell
$FormatPesterArguments = @{
'Include' = 'All'
'Format' = @('word','html','text')
'Path' = '.\examples\1.6.0\en-US\'
'BaseFileName' = '20171125a'
'ReportTitle' = 'Results of tests - a customized report title'
'GroupResultsBy' = 'Result-Describe'
'Language' = 'en-us'
}
Invoke-Pester -Path .\demo\ -Show None -PassThru | Format-Pester @FormatPesterArguments
```

### 20171125b

```powershell
$FormatPesterArguments = @{
'Format' = @('word','html','text')
'Path' = '.\examples\1.6.0\en-US\'
'BaseFileName' = '20171125b'
'ReportTitle' = 'Tests results to check'
'Include' = @('Title','Failed','Inconclusive')
'GroupResultsBy' = 'Result-Describe-Context'
'Language' = 'en-us'
}
Invoke-Pester -Path .\demo\ -Show None -PassThru -Tag Static | Format-Pester @FormatPesterArguments
```

### 20171125c

```powershell
$FormatPesterArguments = @{
'Format' = @('word','html','text')
'Path' = '.\examples\1.6.0\en-US\'
'BaseFileName' = '20171125c'
'Include' = 'All'
'ResultsOrder' = 'Skipped','Failed','Inconclusive','Passed'
'GroupResultsBy' = 'Result'
'Language' = 'en-US'
}
Invoke-Pester -Path .\demo\ -Show None -PassThru | Format-Pester @FormatPesterArguments
```

## pl-PL

### 20171125a

```powershell
$FormatPesterArguments = @{
'Format' = @('word','html','text')
'Path' = '.\examples\1.6.0\pl-PL\'
'BaseFileName' = '20171125a'
'Title' = 'Wyniki testów'
'Include' = 'Passed','Failed','Title'
'GroupResultsBy' = 'Result-Describe'
'Language' = 'pl-PL'
}
Invoke-Pester -Path .\demo\ -Show None -PassThru | Format-Pester @FormatPesterArguments
```

### 20171125b

```powershell
$FormatPesterArguments = @{
'Format' = @('word','html','text')
'Path' = '.\examples\1.6.0\pl-PL\'
'BaseFileName' = '20171125b'
'Include' = @('Inconclusive','Failed')
'GroupResultsBy' = 'Result-Describe-Context'
'Language' = 'pl-PL'
}
Invoke-Pester -Path .\demo\ -Show None -PassThru -Tag Static | Format-Pester @FormatPesterArguments
```

### 20171125c

```powershell
$FormatPesterArguments = @{
'Format' = 'word','html','text'
'Path' = '.\examples\1.6.0\pl-PL\'
'BaseFileName' = '20171125c'
'Title' = 'Super ważne testy'
'Include' = 'All'
'ResultsOrder' = 'Skipped','Failed','Inconclusive','Passed'
'GroupResultsBy' = 'Result'
'Language' = 'pl-PL'
}
Invoke-Pester -Path .\demo\ -Show None -PassThru | Format-Pester @FormatPesterArguments
```
Binary file added examples/1.6.0/en-US/20171125a.docx
Binary file not shown.
Loading

0 comments on commit a67b50c

Please sign in to comment.