E2E Test Automation Anti-Pattern: node_modules and package.json or alike

It results from bringing “Developer Mindset and Practice” to E2E Test Automation.

Zhimin Zhan

--

This is an article in the E2E Test Automation Anti-Pattern series.

Why do some software engineers create jokes about node_modules, like the one below?

A joke image about node_modules on DevHumor, credit: https://devhumor.com/tags/node_modules

Because they (JS engineers) don’t like it. One common pain is accidentally committing the node_modules folder into the Git repository and pushing it up!

https://twitter.com/SamsonChiemezie/status/1720363844277801184/photo/1
https://www.reddit.com/r/ProgrammerHumor/comments/18ibc9z/smallreactwebpagebignodemodules/

Of course, the solution is simple: add node_modules in the .gitignore file.

https://twitter.com/iamsouvik_b/status/1730975574481600636/photo/1

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.