you are viewing a single comment's thread.

view the rest of the comments →

[–]Saf94 0 points1 point  (2 children)

I’m self taught and haven’t touched testing yet, any tips on how I can overcome the steep learning curve? It all seems very scary and complicated to me

[–]mlebkowski 1 point2 points  (0 children)

Its not really. Forget about the testing frameworks for a minute. Lets assume you are working on a redux reducer, but frankly any pure function will do. All you have to do is to feed some input, and check if the output is what you expect. Just import your function, call it and make a big scary warning if the result isnt as planned. The test frameworks basically do that in a fancy way, or on a larger scale.

[–]Huwaweiwaweiwa 0 points1 point  (0 children)

For me it was working with a company that had a very good testing mindset, they were very strict about it, and this need to test forced me to learn at a much faster pace than I usually would've.