© Yiyi Sun 2019
Yiyi SunPractical Application Development with AppRunhttps://doi.org/10.1007/978-1-4842-4069-4_11

11. Unit Testing

Yiyi Sun1 
(1)
Thornhill, ON, Canada
 

Unit testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation.1 Many companies and teams apply the test-driven development (TDD) process. Unit testing is important to these companies and teams.

The AppRun architecture is unit test–oriented. The three architectural parts—the state, view, and update (event handlers)—are decoupled and easy to test. In AppRun application development, there are two types of unit test. The first type is the white-box test, which is to ...

Get Practical Application Development with AppRun: Building Reliable, High-Performance Web Apps Using Elm-Inspired Architecture, Event Pub-Sub, and Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.