7 Different Types of Software Testing

Software testing is the process of checking that software works as intended, so problems are found before they reach customers. Its real goal is to reduce risk.

In this guide, John Sonmez explains the basic idea behind software testing, the seven most common types (black-box, white-box, acceptance, automated, regression, functional and exploratory testing), the testing process, and how testing works on Agile teams.

Most developers have no clue about how testing is actually done, and how valuable the understanding of software testing basics can be for developers who really want to excel in their careers.

I owe a large amount of the success I have had in my career as a software developer to my background in testing.

Why?

Because I learned it the hard way.

Continue Reading “7 Different Types of Software Testing” →

A Survival Guide to Test Driven Development and Unit Testing

Unit testing means writing tests that exercise the smallest unit of code possible, usually a single class. Test-driven development (TDD) is the practice of writing that test first, as a specification, before you write the code.

In this excerpt from The Complete Software Developer’s Career Guide, John Sonmez explains what unit testing and TDD are, what they’re for, and what a typical TDD workflow looks like.

I have a love/hate relationship with test driven development and unit testing.

I’ve been both an ardent supporter of these “best practices,” but I’ve also been more than skeptical of their use.

One of the big problems in software development is when developers, or sometimes managers, who mean well apply “best practices” simply because they are best practices and don’t understand their reason or actual use.

Continue Reading “A Survival Guide to Test Driven Development and Unit Testing” →