Pester OutPutFile access denied.

Welcome Forums Pester Pester OutPutFile access denied.

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

 
Participant
1 year, 9 months ago.

  • Author
    Posts
  • #70591

    Participant
    Points: 5
    Rank: Member

    Hi,

    When i try to OutPutFile i get access denied:
    Exception calling "Create" with "1" argument(s): "Access to the path 'D:\' is denied."

    Invoke-Pester -Path D:\Pester.Test.ps1 -OutputFormat NUnitXml -OutputFile D:\ -Quiet

    I can create a file in that path using new-item within the ISE so i know i can write there, i have also switched off UAC.

    What am i missing?

    Thanks

    TommyQ

  • #70597

    Participant
    Points: 22
    Rank: Member

    OutputFile needs a full file path, not a path to a folder.

  • #70601

    Participant
    Points: 5
    Rank: Member

    You are kidding me!

    Thanks for your help Adam.

    Cheers
    TommyQ

The topic ‘Pester OutPutFile access denied.’ is closed to new replies.

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