Unit tests often take longer to write than the code being tested.
I’m not writing about this anymore. You lack the experience and understanding to grasp the significance here. You sound like one of those guys who had a six-week cram course in Bangalore and then gets billed out by Tata as a “Senior Software Engineer.”
You’ve never even heard of other kinds of testing. You think debugging is wasted time. You know nothing.