Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Unit Testing Best Practices #120

Open
ColbyTresness opened this issue Aug 16, 2018 · 2 comments
Open

Document Unit Testing Best Practices #120

ColbyTresness opened this issue Aug 16, 2018 · 2 comments
Labels
docs P1 tests Make it easier for users to test their Node.js functions v4 model 🚀 Related to the new V4 programming model

Comments

@ColbyTresness
Copy link

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

@ColbyTresness ColbyTresness self-assigned this Aug 16, 2018
@jeffhollan
Copy link

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

@ColbyTresness ColbyTresness added this to the Backlog milestone Nov 3, 2018
@ejizba ejizba removed this from the Backlog milestone Nov 15, 2021
@ejizba ejizba added this to the Backlog Candidates milestone Nov 22, 2021
@ejizba ejizba added the tests Make it easier for users to test their Node.js functions label Jan 28, 2022
@ejizba ejizba added v4 model 🚀 Related to the new V4 programming model P1 and removed P2 labels Jun 14, 2022
@ejizba
Copy link
Contributor

ejizba commented Jun 14, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs P1 tests Make it easier for users to test their Node.js functions v4 model 🚀 Related to the new V4 programming model
Projects
None yet
Development

No branches or pull requests

4 participants