Should the main docs contain a section on testing? #3421
Replies: 2 comments 2 replies
-
I agree with your broad sentiment, and testing is very important to me. Along with testing, there are a few more missing pieces in the framework, like support for Queues and rate-limiting, and we will address them all over time. However, to give a rough estimate, we should have first-class support for testing around May 2022. Now, coming to the importance of testing. You can get some hints from some from the inbuilt APIs around faking an implementation or defining traps. For example:
It's just a matter of adding these APIs to other modules and then adding a first-class testing engine to the framework. Again, I am fully committed to doing this.
I am not 100% sure how exactly you want us to convey this. Is it by just writing it as a sentence in the docs or having visible proof with a testing framework and its documentation? The visible proof will come at its own time. However, putting bold statements without visible proof is something I try to avoid. Also, hard selling is not my skill 🙂 |
Beta Was this translation helpful? Give feedback.
-
Congrats on the March 2022 release of Japa! Such a cool project, and filling a major need in the Node.js ecosystem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
For someone looking for the "Laravel/Rails of Node.js," testing will be top of mind.
Currently, the only official docs on testing is a cookbook from June of 2020.
I think folks would feel more confident adopting Adonis.js if the current state of testing was addressed in the main documentation. Perhaps in Guides > Fundamentals > Testing.
The kind of content I would love to see in this page is
My fear is that testing may seem like an after thought for users coming to the current documentation.
Beta Was this translation helpful? Give feedback.
All reactions