michael@0: michael@0: # Writing Tests michael@0: michael@0: There are several sources of GCLI tests and several environments in which they michael@0: are run. michael@0: michael@0: The majority of GCLI tests are stored in michael@0: [this repository](https://github.com/joewalker/gcli/) in files named like michael@0: ```./lib/gclitest/test*.js```. These tests run in Firefox, Chrome, Opera, michael@0: PhantomJS, and NodeJS/JsDom michael@0: michael@0: See [Running Tests](running-tests.md) for further details. michael@0: michael@0: GCLI comes with a generic unit test harness (in ```./lib/test/```) and a michael@0: set of helpers for creating GCLI tests (in ```./lib/gclitest/helpers.js```). michael@0: michael@0: # GCLI tests in Firefox michael@0: michael@0: The build process converts the GCLI tests to run under Mochitest inside the michael@0: Firefox unit tests. It also adds some