---
title: "unit test 是软件开发业界的强迫症"
author: "jXee"
date: "2015-06-11T12:59:47Z"
tags: []
categories: ["非技术"]
slug: "unit-test"
draft: false
lastmod: "2015-06-12T05:08:27Z"
id: 2218791
url: "https://jxee.iteye.com/blog/2218791"
---

Unit tests helped me find bugs about **3 times** in my whole career.

--what a waste of time ... and energy, especially when you think about "continuous integration" and the bullshit unit tests get run again and again every day, every hour, every minute... What a waste of electricity!

Easy mock, mockito, power mock, shitmock. If a test has external dependency, it's simply not a unit test.