Testing in Software Development

Unit Testing, Functional Testing, and Behavior Testing

Fascal Sapty Jarockohir
Jan 4 · 2 min read
Photo by Louis Reed on Unsplash

Unit Testing

Unit test is a testing focussed to unit/component in isolation. In procedural programming, a unit may be an function, procedure, struct and, etc. In object-oriented programming, the smallest unit is a method, attribute, etc. In the unit test we don’t care about external needs (databases, other services, etc) . So in unit test we need to mock the external needs.

Example of Unit Testing

Functional Testing

Functional Testing do test collection of units/components that integrate by flow and cover external needs. The functional testing can integrate with another functional testing using the scenario.

Example of Functional Test

Behavior Testing

Behavior Testing is an testing a function or collection of function that verified by all stakeholder (Developer, Testers, Stakeholder, Product Owner, or etc).

Illustration of Behavior Test


Easyread

Easy read, easy understanding. A good writing is a writing that can be understood in easy ways

Fascal Sapty Jarockohir

Written by

Backend Engineer | Database Enthusiast | Ex Screamo Vocalist

Easyread

Easyread

Easy read, easy understanding. A good writing is a writing that can be understood in easy ways

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade