DEV Community

Discussion on: I created and maintained my first open source project for Hacktoberfest. It got spooky. Ask me Anything.

Collapse
 
dbelyaeff profile image
Dmitriy Belyaev • Edited

It's very complex topic.

Whether or not we are testing manually whenever we programming.

So why we have to do it by hands if this can be automated?

TDD (Test Driven Development) approach offers reverse approach:

  1. Write a test.
  2. Get test red (failed).
  3. Write a code.
  4. Get test green (succeed).
  5. Refactor code keeping test green.

It helps to keep code in order even when you have large code base in application.

I suggest YouTube (free), docs (of testing software) and some courses (like Frontendmasters — paid).

Tests are almost similar among different programming languages.

Just look up for testing on the platform/language.

I recommend to look at Jest for frontend and backend development with JavaScript.

Take have a look at the movie below:

Thread Thread
 
scrabill profile image
Shannon Crabill

Thanks for sharing! I've flagged the video to watch later.

I take it you do a fair amount of test writing in your day to day?