Motivation

Let’s go over the motivation behind application testing.

Programming is both an art and a science. It’s an art because we use creative thinking to assemble the pieces of a program, making it bigger and more complex.

There are many ways to build applications, but we need to ensure that they remain easy to change and maintain as they keep growing.

We don’t want to worry that changes might take our whole application down. We need confidence that the code we ship is bug-free.

That type of confidence has everything to do with testing and code design.

Why Rails applications fail

Most large Rails applications fail because of complexity, which grows exponentially with every feature we add.

The most common problems are coupling, size, and readability.

Get hands-on with 1400+ tech skills courses.