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

  • Social distancing? Try a better way to work remotely on your online files. Dokkio, a new product from PBworks, can help your team find, organize, and collaborate on your Drive, Gmail, Dropbox, Box, and Slack files. Sign up for free.

View
 

UnitTesting-Introduction

Page history last edited by Charles Jolley 11 years, 4 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.