Are you looking to do Unit testing or Integration testing?
IMO start with Unit testing first (easier to get started, less dependencies etc)
Are you looking to do Unit testing or Integration testing?
IMO start with Unit testing first (easier to get started, less dependencies etc)
I am very early in this specific learning curve, so I'd assume Unit testing. I have a very basic understanding of what Unit testing is vs Integration testing.
Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.
1Eyk15KEeYX9JwH8e98pqpX3kTUuY9d43C VerifiedWelcome to the world of testing! It always seems like more work at first, but in the long run you'll be thanking yourself for investing the time. Tests are really important when you start coding with multiple people or a large team. For JS I've used Chai
Yes, I know it's important, and doing it well is important too. I'm vaguely aware of concepts like TDD and BDD.
Do you have any good resources to help me dive deeper into these and other concepts involving testing?
Yeah I agree, you want meaningful tests vs tests that don't serve a good purpose. Unfortunately I don't have anything quickly to reference. I write in Go, so the testing is in the language, and I follow the best practices (as I learn them).
Hmm... Ok. Unfortunately that's not very helpful to me.
Are there any general concepts that you suggest I research in more depth? Things like TDD and BDD?