Index
A
- adapters
- andCallFake(function) method
- about / The spyOn() function
- andCallFake method
- about / The spyOn() function
- Ant
- areEqual function
- areNotEqual function
- areNotSame function
- areSame function
- assert assertion
- assertEquals assertion
- assertFalse assertion
- assertion
- about / Assertions
- assertions, JSTD test
- about / Assertions
- assert / The assert, assertTrue, and assertFalse([msg], expression) assertions
- assertTrue / The assert, assertTrue, and assertFalse([msg], expression) assertions
- assertFalse / The assert, assertTrue, and assertFalse([msg], expression) assertions
- assertEquals / The assertEquals and assertNotEquals([msg], expected, actual) assertions
- assertNotEquals / The assertEquals and assertNotEquals([msg], expected, actual) assertions
- assertSame / The assertSame and assertNotSame([msg], expected, actual) assertions
- assertNotSame / The assertSame and assertNotSame([msg], expected, actual) assertions
- datatype assertions / The datatype assertions
- special value assertions / Special value assertions
- fail([msg]) assertion / The fail([msg]) assertion
- assertAverage custom assertion / The fail([msg]) assertion
- assertions, QUnit test
- ok assertion / The ok assertion
- equal assertion / The equal and notEqual assertions
- notEqual assertion / The equal and notEqual assertions
- deepEqual assertion / The deepEqual and notDeepEqual assertions
- notDeepEqual assertion / The deepEqual and notDeepEqual assertions
- expect assertion / The expect assertion
- custom QUnit assertions, developing / Developing custom QUnit assertions
- assertions, YUI test
- assert / The assert assertion
- areEqual / The areEqual and areNotEqual assertions
- areNotEqual / The areEqual and areNotEqual assertions
- areSame / The areSame and areNotSame assertions
- areNotSame / The areSame and areNotSame assertions
- datatype / The datatype assertions
- special values / Special value assertions
- fail / The fail assertion
- assertNotEquals assertion
- assertNotSame assertion
- assertSame assertion
- assertTrue assertion
- asynchronous (Ajax) JavaScript code, Jasmine test
- testing / Testing asynchronous (Ajax) JavaScript code
- runs() function / The runs() function
- waits() function / The waits() function
- waitsFor() function / The waitsFor() function
- spyOn() function / The spyOn() function
- asynchronous (Ajax) JavaScript code, JSTD
- about / Testing asynchronous (Ajax) JavaScript code
- AsyncTestCase / AsyncTestCase, queue, and callbacks
- TestCase / AsyncTestCase, queue, and callbacks
- callbacks parameter / AsyncTestCase, queue, and callbacks
- asynchronous (Ajax) JavaScript code, QUnit test
- testing / Testing asynchronous (Ajax) JavaScript code
- stop() API / The stop and start APIs
- start API / The stop and start APIs
- asynchronous (Ajax) JavaScript code, YUI test
- testing / Testing asynchronous (Ajax) JavaScript code
- wait() function / The wait and resume functions
- resume() function / The wait and resume functions
B
- BasicRunner.html page / Configuration
- boundary testing
- about / Writing your first Jasmine test
C
- callbacks parameter
- code coverage
- about / Generating test reports
- configuration file
- about / Architecture
- Continuous integration (CI)
- about / Why we need unit testing
- custom Jasmine matchers
- developing / Developing custom Jasmine matchers
- custom QUnit assertions
- developing / Developing custom QUnit assertions
D
- datatype assertions
- deepEqual assertion
- describe keyword
- about / Writing your first Jasmine test
- displaySuccessMessage method
- displayWeatherInformation method
- DIV element
- doAjaxOperation method
- about / The spyOn() function
E
- Eclipse / Integration with the IDEs
- Eclipse integration, JSTD
- about / Eclipse integration
- working / Eclipse integration
- equal assertion
- error callbacks
- expect assertion
- about / The expect assertion
F
- Factorial Testcase / Writing your first YUI test
- fail() method
- about / The fail assertion
- fail([msg]) assertion
- about / The fail([msg]) assertion
G
- genhtml command
- about / Generating test reports
- getFactorial method
- about / Writing your first Jasmine test
- getFactorial test case / Writing your first YUI test
- getWeatherCondition method
H
- handleRegistrationError method
- handleWeatherInfoError method
- HTML code, weather forecasting application
- HTML fixtures
- about / HTML fixtures
- jasmine-jquery, configuring / Configuring the jasmine-jquery plugin
- loadFixtures module / The loadFixtures module
- Hudson
- Hudson job
I
- IntelliJ / Integration with the IDEs
- invokeWeatherClient function
- isInstanceOf assertion
- about / The datatype assertions
- isPrimeNumber custom assertion code
- isTypeOf() method
- about / The datatype assertions
J
- Jasmine
- configuring / Configuration
- download link / Configuration
- test, writing / Writing your first Jasmine test
- jasmine-jquery plugin
- configuring / Configuring the jasmine-jquery plugin
- JasmineAdapter.js file
- Jasmine matchers
- about / Jasmine matchers
- toBe / The toBe matcher
- toBeDefined / The toBeDefined and toBeUndefined matchers
- toBeUndefined / The toBeDefined and toBeUndefined matchers
- toBeNull / The toBeNull matcher
- toBeTruthy / The toBeTruthy and toBeFalsy matchers
- toBeFalsy / The toBeTruthy and toBeFalsy matchers
- toContain / The toContain matcher
- toBeLessThan / The toBeLessThan and toBeGreaterThan matchers
- toBeGreaterThan / The toBeLessThan and toBeGreaterThan matchers
- toMatch / The toMatch matcher
- Jasmine spec
- about / Writing your first Jasmine test
- Jasmine suite
- about / Writing your first Jasmine test
- JavaScript applications
- testing / Complexities in testing JavaScript applications
- complexities, in testing / Complexities in testing JavaScript applications
- JavaScript code, weather forecasting application
- JavaScript Object Notation (JSON) object / Exploring the application's HTML and JavaScript code
- JavaScript source files
- about / Architecture
- Java servlets
- about / Weather forecasting application
- JSTD
- architecture / Architecture
- configuring / Configuration
- downloading / Configuration
- integrating, with JavaScript test frameworks / Integration with other JavaScript test frameworks
- integrating, with JavaScript test frameworks / Integration with other JavaScript test frameworks
- integrating, with Jasmine / Integrating JSTD with Jasmine
- integrating, with Jasmine / Integrating JSTD with Jasmine
- integrating, with QUnit / Integrating JSTD with QUnit
- integrating, with build management tools / Integration with build management tools
- integrating, with IDEs / Integration with the IDEs
- JSTD-build management tools integration
- JSTD-IDEs integration
- about / Integration with the IDEs
- Eclipse integration / Eclipse integration
- JSTD-Jasmine integration
- about / Integrating JSTD with Jasmine
- JSTD-QUnit integration
- about / Integrating JSTD with QUnit
- JSTD Eclipse plugin
- installing / Eclipse integration
- JSTD test
- about / Writing your first JSTD test
- creating / Writing your first JSTD test
- assertions / Assertions
- JUnit XML report files / Using YUI Test Selenium Driver in the weather application
L
- Linux code coverage (LCOV) format
- about / Generating test reports
- loadFixtures module
- about / The loadFixtures module
- LoginClient JavaScript object
- LoginClient object
M
- Maven
N
- notDeepEqual assertion
- notEqual assertion
O
- ok assertion
- about / The ok assertion
Q
- QUnit
- configuring / Configuration
- QUnit.push API
- QUnit CSS file
- URL / Configuration
- QUnit JS file
- URL / Configuration
- QUnit module function
- about / Writing your first QUnit test
- QUnit test
- writing / Writing your first QUnit test
- assertions / Assertions
R
- registerUser function
- registerUser method
- RegistrationClient object
- testing / Testing the RegistrationClient object
- resume() function
- about / The wait and resume functions
- runs() function
- about / The runs() function
S
- Selenium
- used, for automating YUI test / Automation and integration with build management tools
- Selenium Java Client Driver
- download link / Configuring YUI Test Selenium Driver
- Selenium Server Version 2.25.0
- download link / Configuring YUI Test Selenium Driver
- server panel / Eclipse integration
- signum method
- about / Writing your first Jasmine test
- SimpleMath JavaScript object
- about / Writing your first Jasmine test
- slave browser
- about / Architecture
- Smalltalk
- about / What unit testing is
- spyOn() function
- about / The spyOn() function
- stop() API
- about / The stop and start APIs
- success callbacks
T
- <tests> element
- TAP
- about / Generating test reports
- URL / Generating test reports
- TDD
- about / What Test-Driven Development (TDD) is
- flowchart / What Test-Driven Development (TDD) is
- teardown method
- about / Writing your first QUnit test
- Test-First approach
- testAddExistingUser test function
- testAddNewUser test function
- testAverage test function / Writing your first YUI test
- testEmptyPassword
- about / Testing the LoginClient object
- testEmptyUserName tests
- about / Testing the LoginClient object
- testing Module
- about / Writing your first QUnit test
- testPasswordFormat
- about / Testing the LoginClient object
- tests.xml file
- <yuitest> element / Using YUI Test Selenium Driver in the weather application
- <tests> element / Using YUI Test Selenium Driver in the weather application
- <url> element / Using YUI Test Selenium Driver in the weather application
- toBeDefined matcher
- toBeFalsy matcher
- toBeGreaterThan matcher
- toBeLessThan matcher
- toBe matcher
- about / The toBe matcher
- toBeNull matcher
- about / The toBeNull matcher
- toBePrimeNumber matcher
- toBeSumOf matcher
- toBeTruthy matcher
- toBeUndefined matcher
- toContain matcher
- about / The toContain matcher
- toEqual matcher
- about / The toBe matcher
- toHaveBeenCalledWith matcher
- about / The spyOn() function
- toMatch matcher
- about / The toMatch matcher
- toThrow matcher
- about / Writing your first Jasmine test
- traditional unit testing
U
- <url> element
- unit testing
- about / What unit testing is
- need for / Why we need unit testing
V
- validateEmptyFields method
- validateLoginForm function / Exploring the application's HTML and JavaScript code
- validateLoginForm JavaScript function / Exploring the application's HTML and JavaScript code
- validateLoginForm method
- validatePassword method
- validateRegistrationForm method
- validateUserName method
W
- wait() function
- about / The wait and resume functions
- waits() function
- about / The waits() function
- waitsFor() function
- about / The waitsFor() function
- weather application, Jasmine test
- testing / Testing the weather application
- LoginClient object, testing / Testing the LoginClient object
- RegistrationClient object, testing / Testing the RegistrationClient object
- WeatherClient object, testing / Testing the WeatherClient object
- tests, running / Running the weather application tests
- weather application, JSTD test
- testing / Testing the weather application
- LoginClient object, testing / Testing the LoginClient object
- RegistrationClient object, testing / Testing the RegistrationClient object
- WeatherClient object, testing / Testing the WeatherClient object
- proxy, configuring / Configuring the proxy
- running / Running the weather application tests
- test reports, generating / Generating test reports
- weather application, QUnit test
- testing / Testing the weather application
- LoginClient object, testing / Testing the LoginClient object
- RegistrationClient object, testing / Testing the RegistrationClient object
- WeatherClient object, testing / Testing the WeatherClient object
- running / Running the weather application tests
- weather application, YUI test
- testing / Testing the weather application
- LoginClient object, testing / Testing the LoginClient object
- RegistrationClient object, testing / Testing the RegistrationClient object
- WeatherClient object, testing / Testing the WeatherClient object
- running / Running the weather application tests
- test reports, generating / Generating test reports
- weather application tests, Jasmine test
- running / Running the weather application tests
- weather forecasting application
- about / Weather forecasting application
- use cases / Weather forecasting application
- server-side part / Weather forecasting application
- user registration page / Weather forecasting application
- JavaScript code, exploring / Exploring the application's HTML and JavaScript code
- HTML code, exploring / Exploring the application's HTML and JavaScript code
- running / Running the weather application
- YUI Test Selenium Driver, using / Using YUI Test Selenium Driver in the weather application
- weatherForm object
- weatherInformation div element
- weatherInformationReady method
- WeatherProxyServlet
Y
- <yuitest> element
- YAML format
- about / Configuration
- URL / Configuration
- YUI
- writing / Writing your first YUI test
- YUIReportViewer servlet
- about / Generating test reports
- YUIReportViyuitest-selenium-driver.jar file / Using YUI Test Selenium Driver in the weather application
- YUI Test
- assertions / Assertions
- asynchronous (Ajax) JavaScript code, testing / Testing asynchronous (Ajax) JavaScript code
- automating, Selenium used / Automation and integration with build management tools
- YUI Test.Suite object / Writing your first YUI test
- YUI Test Selenium Driver
- about / Automation and integration with build management tools
- configuring / Configuring YUI Test Selenium Driver
- download link / Configuring YUI Test Selenium Driver
- working / Using YUI Test Selenium Driver in the weather application
- using, in weather application / Using YUI Test Selenium Driver in the weather application
- build management tools, integrating with / Integration with build management tools