Local Ground - Unit Testing

Unit Testing is the essential step in any development cycle, no matter how simple or complex the features are implemented. Unit Testing ensures that all features work as intended as well as covering all potential cases.

Return to Local Ground Overview

Problem

When adding features, whether complex or simple, searching for bugs through browsers alone is time consuming. Therefore, unit testing is needed to quickly discover other potential issues behind the scenes.

Approach

Unit Testing is a universal concept applied to any programming field, especially front and back end web development. Because web applications consist of interactions between many components, there must be tests for every single component so that many of the concerning bugs can be tested and fixed promptly.

Technologies Used

  • Django (Python) Test Framework (server unit test)

  • Jasmine (client unit test)

Results

Unit testing has definitely helped find bugs that are not normally found through browser testing alone. Additionally, it helps discover other issues behind the scenes that can also be fixed. Unit testing will always be part of an iterative development cycle and will continue to be used when maintaining and updating Local Ground.