Pester HTML report over time

Welcome Forums Pester Pester HTML report over time

This topic contains 2 replies, has 3 voices, and was last updated by

 
Participant
1 year, 7 months ago.

  • Author
    Posts
  • #75308

    Participant
    Topics: 37
    Replies: 47
    Points: 55
    Rank: Member

    Hi,

    I need to report to senior management a realtime report of a bunch of network test, i'd like to use pester which i currently use fir integration testing.

    Is it possible to create html output that shows the results over a period of time rather than just the results of the most recent test. Ideally i'd like to see the time a file copy takes over the course of a day and present this in the HTML output.

    I can run the File copy in a While Loop, but it's only when i invoke-pester the output is generated in NUnitXml.

    Any ideas?

  • #75319

    Participant
    Topics: 23
    Replies: 140
    Points: 30
    Rank: Member

    You can schedule the Pester test to run with a scheduled task but you're not going to get a value other than pass/fail on the report. Pester is only meant to test a boolean value. If you need to see actual numbers, straight PowerShell works.

  • #81940

    Participant
    Topics: 0
    Replies: 1
    Points: 21
    Rank: Member

    You can use Format-Pester.

The topic ‘Pester HTML report over time’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort