Logo
COBOL: Powering your bank since before you were born.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Mocking Memes

Posts tagged with Mocking

Mock Frontend Newbie Jobs

Testing Javascript Frontend Webdev Programming
8 months ago 434.6K views 0 shares
Mock Frontend Newbie Jobs
Junior dev discovers Jest mocking and suddenly thinks they're a testing god because they made 2+3=5 pass by... mocking the math module. Yeah, let's just mock away the entire function we're supposed to be testing. What's next, mocking the test itself? This is peak "I wrote tests" energy without understanding that mocking add to return 5 when testing if add(2, 3) equals 5 is like bringing your own answer key to an exam. You're not testing your code, you're just... lying to yourself with extra steps. The hiring manager looking at this portfolio is having a Dipper Pines moment realizing this "100% test coverage" is completely worthless. But hey, at least the tests are green! 🎉

Today's picks

Amazon Basics Adjustable Dual Monitor Desk Mount, Supports up to 32 inch Monitors and 22 lbs per Arm, Adjustable Tension, VESA 75x75/100x100, Black

Amazon Basics Adjustable Dual Monitor Desk Mount, Supports up to 32 inch Monitors and 22 lbs per Arm, Adjustable Tension, VESA 75x75/100x100, Black

Affiliate
$30.78
Me Everytime I Start Working On A New Project

Me Everytime I Start Working On A New Project

Programming
111.8M views 3 months ago
NordVPN

NordVPN

Sponsored
VPN