Getting Started

nzakas edited this page Nov 23, 2011 · 1 revision

In order to use YUI Test, you'll need to include the YUI Test library file in your environment.

Web Pages

To begin, download the latest release from YUI Library. When you extract the ZIP file, look in the javascript/build/yuitest directory for the latest built files. The yuitest.js file is the one to include your web page using a <script> tag:

<script src="yuitest.js"></script>

With that, your web page is ready for testing.

Node.js

If you're using Node.js and want to use YUI Test, it's easiest to install YUI Test via npm.

npm install yuitest