Details and Practice of nodejs Automated Testing

  javascript, node.js

Now I use mocha and should to do the automatic test of nodejs. I have some practical problems.

For example, how to classify the test modules and how to list the molecules in the test directory. For example, the database operation test is one class, the interface operation test is one class, and the tool class test is one class. Do you want to do one-to-one test for the project directory file?

Welcome everyone to contribute the details of automated testing and good suggestions. Welcome to post codes, post screenshots and combine practical experience.

What kind of test actions do you implement in the automated test? Web UI automation? Or Web Service automation?