Upgraded to Pester 5 – now broken :(

Welcome Forums Pester Upgraded to Pester 5 – now broken :(

Viewing 1 reply thread
  • Author
    • #239993
      Topics: 41
      Replies: 56
      Points: 119
      Rank: Participant


      I  have been using a previous version of Pesterto test a load of https APIs. Each API requires a set of headers passed into each request. Previously I was just adding these as a function before and passing the values into the pester test. but now these all fail to run and I’m not sure I understand why.

      I’ve added the beforeEach{ and added my function within that script block, but it still fails.

      I’ve cut off the rest of the script cause it does a lot of other stuff, but these tests fail as well as the others.

      Any help would be great.



    • #240077
      Senior Moderator
      Topics: 9
      Replies: 1445
      Points: 5,410
      Helping Hand
      Rank: Community MVP

      Pester v5 has couple of breaking changes and below link should help you.


Viewing 1 reply thread
  • The topic ‘Upgraded to Pester 5 – now broken :(’ is closed to new replies.