P
P
Peter2016-12-21 17:45:16
Software testing
Peter, 2016-12-21 17:45:16

Where can I read best practices on tdd and bdd for applications on node.js?

There is a back-end written in node.js (RESTful, oAuth authorization, sockets, working with the database, fishing, etc.).
For him, you need to write TDD and BDD tests.
Because the system is quite large, you can be tricky or too smart with the architecture of the tests.
I know how to write unit tests myself, but I have never come across writing (especially BDD) for node.js.
Where can I read best practices on BDD and TDD architecture for node.js applications?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
nonlux, 2016-12-22
@nonlux

I chose this for myself:
specs: mocha + chai.should
component.spec.js files are stored in the same place as the tested component.
features: mocha + yadda I
store in test at the root.
That's the mustache of bestpractice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question