Anyone have any good tutorials or videos on how to do unit testing well?
Helpful but not necessary:
- Examples of Dependency Injection/Mocking
- Written in JavaScript, esp. if with Mocha and/or Chai
- General good practices of testing, TDD/BDD
Anyone have any good tutorials or videos on how to do unit testing well?
Helpful but not necessary:
jest is aight https://jestjs.io/docs/en/getting-started.html
Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.
13ePwhRdgmMfUbPF2K9AWf8czxiAmpkYMh VerifiedAt this point I'm using Mocha + Chai... May switch to Jest at some point, though, at the very least to just test my own understanding of the concepts.
I think what I need is info on good coding practices, design patterns, etc. Decoupling especially.
I'm kind of just firing darts at things that look like targets in a dark room, if that makes sense...