• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PowerShell / PowerShell / 2112
20%

Build:
DEFAULT BRANCH: master
Ran 21 May 2019 08:38AM UTC
Jobs 1
Files 119
Run time 19s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2112

Pull #209

travis-ci

Dongbo Wang
Improve console cmdlets tests (#3101)

* Improve console cmdlets tests
Main improvements refer to tests of the Write-Host cmdlet.
Original tests:
1. Slow because run external processes
2. Don't test colors and -NoNewLine in fact.

1. The original tests is preserved (deleted one as redundant) but marked
by 'Slow' tag. They is preserved because they actually check the output
on the work, not a test console.
2. Add negative color tests. (Code cover grow!)
3. Add tests based on TestHostCS. This test host has been refined so we
can see colors and a new line in output.
4. Add minor fixes for test modules loads.

Also I add support for Information stream. I originally planned to use
it but not actually used. However, I have left this as a useful addition
for future tests.
I wonder that a Write-Host console output is duplicated in Information
Stream - Is it by design? I left a debug print on this matter in the
test code.

* Fix after code review
* Corrections after code review
Suppress import-module warnings
Rename Describes
Add "-Object" test
Add Stream.Information tests with TestHostCS
* Add checks for Streams.Information and add comments
Pull Request #209:

7282 of 14394 relevant lines covered (50.59%)

0.51 hits per line

Jobs
ID Job ID Ran Files Coverage
2 2112.2 21 May 2019 08:38AM UTC 0
50.59
Travis Job 2112.2
Source Files on build 2112
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2112
  • Pull Request #209
  • Prev Build on master
  • Next Build on master (#7860)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc