• If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

  • You already know Dokkio is an AI-powered assistant to organize & manage your digital files & messages. Very soon, Dokkio will support Outlook as well as One Drive. Check it out today!

View
 

UnitTesting-Introduction

Page history last edited by Charles Jolley 15 years, 2 months ago

Welcome to the SproutCore Unit Testing Guide.  In the past, writing unit tests has been a difficult and error prone process.  However, SproutCore comes with a built-in unit test framework and test runner that makes it easy.  This guide will tell you everything you need to know about writing unit tests for your applications using the SproutCore tools.

 

Who Should Read This Guide

 

You should read this guide if you plan on writing SproutCore applications and you want to use unit tests to improve your code quality.  (That should be everyone!)  If you are planning to write code for SproutCore itself, you should also read this guide to understand the requirements for writing unit tests in the framework as well.

 

Outline

 

  1. About Unit Testing
  2. Adding a Unit Test
  3. Writing Unit Tests
  4. Running Unit Tests
  5. Testing Guidelines for SproutCore

 

 

Comments (0)

You don't have permission to comment on this page.