YUI Library Home

Site Search (YDN & YUIBlog):

# YUI Library Examples: YUI Test Utility

# YUI Test Utility: Examples

YUI Test is a JavaScript testing framework with a comprehensive assertion syntax. It is suitable for testing YUI-based code, of course, but it is expressly designed to support test-driven development across any JavaScript project, regardless of whether YUI is involved.

- Simple Testing Example: Demonstrates basic usage of YUI Test for setting up and running tests.
- Advanced Test Options: Demonstrates how to use advanced testing features such as defining tests that should fail, tests that should be ignored, and tests that should throw an error.
- Array Processing: Demonstrates how to use the ArrayAssert object to test array data.
- Asynchronous Testing: Demonstrates basic asynchronous tests.
- Asynchronous Event Testing: Demonstrates using events with asynchronous tests.

### YUI Test Utility:

- User's Guide (external)
- API Documentation
- Cheat Sheet PDF(external)

Copyright © 2010 Yahoo! Inc. All rights reserved.

Privacy Policy - Terms of Service - Copyright Policy - Job Openings