Azure / azure-functions-nodejs-worker

The Node.js worker for the Azure Functions runtime - https://functions.azure.com
MIT License
107 stars 44 forks source link

Document Unit Testing Best Practices #120

Open ColbyTresness opened 6 years ago

ColbyTresness commented 6 years ago

Write a blog post or some documentation for JS similar to what @jeffhollan did for C# here: https://medium.com/microsoftazure/serverless-devops-and-ci-cd-part-1-f76f0357cba4?source=linkShare-dd6e3fb74d52-1533570244

jeffhollan commented 6 years ago

FYI also did same scenario in JavaScript if you wanna check it out to help: https://github.com/jeffhollan/functions-test-samples/blob/master/JavaScriptOddOrEven/test/oddOrEvenQueueTest.js

ejizba commented 2 years ago

A few more docs about unit testing & dependency injection provided to us by Hannes offline:

We should keep unit testing in mind as we work on the new programming model