Yoni Goldberg - Node.js Quality

Yoni Goldberg - Node.js Quality Yoni Goldberg's thoughts on Node.JS best practices A Cherry-picked feed of Node.JS best practices

The Node.js best practices guide has a new menu 🎉.Reading thousands of words demands a smarter navigation 👇1. All titles...
29/11/2021

The Node.js best practices guide has a new menu 🎉.

Reading thousands of words demands a smarter navigation 👇

1. All titles appear upfront
2. Tags: New visitors can read strategic items first. Returning visitors can focus on new content. Seniors can filter for advanced items

https://buff.ly/2LgiRWl

Did you like it?

"I get paid for code that works, not for tests, so my philosophy is to test as little as possible to reach a given level...
05/10/2021

"I get paid for code that works, not for tests, so my philosophy is to test as little as possible to reach a given level of confidence"

Said his majesty Kent Beck, "father of TDD"

Testing code is NOT production code, It must be 1000x times simpler and smaller. An average team can not afford maintaining another complex sub-system that is written using imperative code. There are even Jest/Mocha linters that warn when loops and conditions appear within tests.

Easier said than done, how do we escape that complexity when writing tests? With the BASIC principles of course! which are explained in my new blog post 👇

https://yonigoldberg.medium.com/fighting-javascript-tests-complexity-with-the-basic-principles-87b7622eac9a

p.s. If interested in learning and practicing modern and advanced Node.js testing, I'll hold a workshop soon in two conferences: Both Nodeconf and Node.TLV. Visit the conference workshop page

Applying 5 key principles to shorten, clean, and simplify JavaScript and Node.js testing

Any time an API route is invoked, regardless of the response, a series of other publicly-facing reactions might happenYo...
01/10/2021

Any time an API route is invoked, regardless of the response, a series of other publicly-facing reactions might happen

You obviously wanna test all of these but it's easy to overlook some scenarios or outcomes

✅ Consider using this checklist as a reminder 👇

When stepping in component/integration tests land, quickly Alice meets creatures 👾that did not exist in the escapist wor...
29/09/2021

When stepping in component/integration tests land, quickly Alice meets creatures 👾that did not exist in the escapist world of unit tests

One of them is dealing with database records. When she'll jump into this rabbit hole, she will realize 3 different types of tests data (table👇)

Treating them differently will simplify and boost the performance of your tests

I'll discuss this and many other beyond-the-basics backend testing concepts in the upcoming nodeconf conference:

https://buff.ly/3oiwUik

If you want to read more about dealing with data in tests, my new repository-book covers this with great details:

https://buff.ly/3AUYe9D

WOW, Our Repo is the most clicked Node item in 2020 🍾Suddenly and occasionally, great Node.js minds just walk-in and con...
24/12/2020

WOW, Our Repo is the most clicked Node item in 2020 🍾

Suddenly and occasionally, great Node.js minds just walk-in and contribute new content to constantly make the guide better and updated. Some are fixing a single TYPO, others contribute a new best practice and some just ask questions.

This is OSS in its purest glory - Together we build a comprehensive guide that inspires developers around the globe to build Node.js application better.

Making apps better is all we ever wanted and couldn't be happier. Thank you.

Don't miss out on the new Docker best practices section, and the latest new practices that appear in the top news section.

https://buff.ly/2LgiRWl

A great post by Steve Sanderson's clarifies WHERE unit tests shine. There no universal truth, one pyramid or diamond, th...
23/12/2020

A great post by Steve Sanderson's clarifies WHERE unit tests shine. There no universal truth, one pyramid or diamond, that fits them all. A component might have 90% or 5% logic - Only this should drive the model

https://buff.ly/3hemBpR

Curious to hear about the latest trends in the CICD world? JSHeroes will host a meetup on this matter on May 13th with f...
11/05/2020

Curious to hear about the latest trends in the CICD world? JSHeroes will host a meetup on this matter on May 13th with few testing enthusiasts like Gil Tayar, Liran Tal and yours truly.

The agenda will cover advanced topics like the latest CI features, integration with GitHub, modern quality tools, securing pipelines and more.

Come join us!

https://www.meetup.com/jsheroes/events/270488574/?read=1&_xtd=gatlbWFpbF9jbGlja9oAJGQyYmRjYzFhLTA3NWUtNDVkNC1iZGNkLWE3YWFkOWQ0OTMzYg&_af=event&_af_eid=270488574

I'm happy to join an amazing line-up at jsvidcon.comMy talk will cover the greatest trend of Testing in Production' and ...
15/04/2020

I'm happy to join an amazing line-up at jsvidcon.com

My talk will cover the greatest trend of Testing in Production' and it will include many live examples

Come watch me?

https://jsvidcon.com/

I'll hold 'Clean and lean testing' workshop again in Monday 11:30 UTC, this time in a more intimate format, 3 hours long...
01/04/2020

I'll hold 'Clean and lean testing' workshop again in Monday 11:30 UTC, this time in a more intimate format, 3 hours long including class exercises

It's scoped for beginners who made their first testing steps and ready to take it a step up

Wanna join? apply here. Note that due to the intimate format with 12 participants only, the registration is likely to be opened for a few hours only

https://forms.gle/CAAihp7vvv39xDgj8

Address

Haifa

Alerts

Be the first to know and let us send you an email when Yoni Goldberg - Node.js Quality posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Yoni Goldberg - Node.js Quality:

Share