Why is unit testing important?

Short answer, to avoid something like this:

n26

The links are inverted

Because of that error, people may not be available to download or install the proper app and therefore will lost credibility of the service.

What is Unit Testing?

In computer programming, unit testing is a software testing method by which individual units of source code, sets of one or more computer program modules together with associated control data, usage procedures, and operating procedures, are tested to determine whether they are fit for use. (https://en.wikipedia.org/wiki/Unit_testing)

The bottom line

If unit testing is written and performed properly and consistently, software projects are a lot more effective at delivering the correct solution in a predictable and managed way.

http://bfy.tw/77kx