Could you please suggest any optimal unit testing tool for Azure functions? especially for powershell script

Anoop Nagappan 1 Reputation point
2020-06-24T06:56:28.993+00:00

-We are using powershell scripts in azure functions

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,605 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Mike Urnun 9,786 Reputation points Microsoft Employee
    2020-06-25T19:05:30.977+00:00

    Hello @Anoop Nagappan

    You can use the Pester unit testing framework. Powershell worker repo also has test scripts you can take an example of: https://github.com/Azure/azure-functions-powershell-worker/tree/dev/test/Unit/PowerShell/TestScripts

    0 comments No comments