Index
A
- $animation service
- references / Introduction
- angular-debaser
- URL / There's more…
- angular-mocks.js file
- URL, for downloading / Getting ready
- angular-mocks.js library / How it works…
- angular.js file
- URL, for downloading / Getting ready
- angular.mock.module function / Loading a module, How to do it…
- angular animate
- reference link / Getting ready
- AngularJS
- about / Introduction, Introduction
- URL, for tutorial / See also
- AngularJS code
- debugging / Debugging AngularJS code, How to do it…
- AngularJS elements
- reference link / Testing the handling of external events
- angular mocks
- reference link / Getting ready
- animations
- references / Introduction
- synchronous testing / Synchronous testing of animations, How to do it…, How it works…
- testing, with ngAnimateMock module / Testing animations with ngAnimateMock, Getting ready, How to do it…
- asynchronous testing / Asynchronous testing of animations, How to do it…
- API methods, Protractor
- asynchronous testing, of animations / Asynchronous testing of animations, How to do it…
B
- $broadcast method
- reference link / Testing event dispatches
- basic AngularJS application
- basic html content
- accessing / Accessing basic HTML content, How it works…
- Batarang
- about / How to do it…
- URL / How to do it…
- beforeEach() method / There's more…
- Behavior-Driven Development (BDD) / Introduction
- Brunch
- URL / See also
C
- Chrome
- URL / Getting ready
- Chrome DevTools, Twitter feed
- reference link / See also
- class changes, based on windows properties / Class changes based on window properties, Getting ready, How it works…
- clean slate
- about / Introduction
- configuration, of ngRoute
- reference link / Getting ready
- configuration file docs, Testem
- URL / How it works…
- configuration options, Karma
- frameworks / How it works…
- files / How it works…
- autoWatch / How it works…
- Browsers / How it works…
- configuration options, Testem
- framework / How it works…
- src_files / How it works…
- launch_in_dev / How it works…
- constants
- testing / Testing constants, How to do it…
- references / Testing constants
- controller
- about / Introduction
- reference link / Introduction
- testing, setting up for / Setting up for testing a controller , How it works…
- createSpyObj method / How it works…
D
- directive changes, on interactions
- with Protractor / Directive changes on interaction using Protractor, How to do it…, How it works…
- directives
- about / Introduction
- testing / Starting with testing directives, How to do it…, How it works…
- Don't Repeat Yourself (DRY) principle / Introduction
- DRY principle
- reference link / There's more…
- URL / Testing service data using mock helpers
E
- ElementFinder feature
- reference link / There's more…
- elements
- searching, selectors used / Searching elements using selectors, How it works…
- event dispatches
- testing / Testing event dispatches, How to do it…, There's more…
- events
- testing, Protractor used / Testing events using Protractor, How to do it…
- event system, Angular
- reference link / Introduction
F
- $filterProvider API
- URL / Introduction
- $filter service
- URL / Introduction
- factory service
- reference link / Getting ready…
- fake backend implementation
- reference link / Using Protractor to test HTTP requests
- filter
- about / Introduction
- testing, that formats number as text / Testing a filter that formats a number as text, How it works…
- testing, that formats seconds to time string / Testing a filter that formats seconds to a time string, How to do it…, How it works…
- filter changes, based on events
- testing, with Protractor / Using Protractor to test filter changes based on events, Getting ready, How to do it…, How it works…
- filter changes, based on input
- testing, with Protractor / Using Protractor to test filter changes based on input, How it works…
- find() method
- reference link / How it works…
G
- Grunt
- about / Introduction
- used, for automating test runners / Automating test runners using Grunt, How to do it…
- URL / Automating test runners using Grunt
- unit tests, automating / How it works…
- end-to-end tests, automating / How it works…
- grunt-cli
- URL / How it works…
- grunt-contrib-connect plugin
- URL / How it works…
- grunt-karma command / How it works…
- grunt-karma plugin
- URL / How it works…
- grunt-protractor-runner plugin
- URL / How it works…
- grunt-protractor-webdriver plugin
- URL / How it works…
- Gulp
- about / Introduction
- URL / Automating test runners using Grunt, Automating test runners using Gulp
- used, for automating test runners / Automating test runners using Gulp, Getting ready, How to do it…
- references / Automating test runners using Gulp
- unit tests, automating / How it works…
- end-to-end tests , automating / How it works…
- reference link, for template cache / How it works…
- gulp-protractor plugin
- URL / How it works…
- Gulpfile
H
- $httpBackend service
- used, for testing HTTP GET requests / Testing HTTP GET requests using $httpBackend, Getting ready, How to do it…
- used, for testing HTTP POST requests / Testing HTTP POST requests using $httpBackend, How to do it…, How it works…
- $http service's get() method
- URL / Getting ready
- handling, of callbacks
- handling, of dispatched events
- handling, of external events
- HTTP GET requests
- testing, $httpBackend service used / Testing HTTP GET requests using $httpBackend, Getting ready, How to do it…
- testing, spies used / Using spies to test HTTP GET requests, How to do it…, How it works…
- HTTP POST requests
- testing, $httpBackend service used / Testing HTTP POST requests using $httpBackend, How to do it…, How it works…
- testing, spies used / Using spies to test HTTP POST requests, How to do it…, How it works…, There's more…
- HTTP requests
- testing, Protractor used / Using Protractor to test HTTP requests, Getting ready, How to do it…, How it works…
- HTTP status code 201
- URL / How it works…
I
- initial state, of scope object
- testing / Testing the initial state of a scope object, How it works…
- testing, with Protractor / Testing the initial state of a scope object with Protractor, How to do it…, How it works…
- injected instances
- mocking, object used / Mocking injected instances using an object, How to do it…, How it works…
- mocking, spies used / Getting ready, How to do it…, How it works…
- interactive scope changes
- testing, with Protractor / Testing interactive scope changes with Protractor, How to do it…, How it works…
- it function / Writing a test spec
J
- Jasmine
- used, for running simple test / Running a simple test using Jasmine, How to do it…, How it works…
- URL, for documentation / Running a simple test using Jasmine
- about / Introduction
- Jasmine framework
- URL / Getting ready
- Jasmine spies
- reference link / Testing event dispatches
- JavaScript Error
- jqLite / Searching elements using selectors
- jQuery
- URL / Getting ready
- jQuery attribute equals selector
- reference link / How it works…
- jQuery click event
- reference link / How it works…
- jQuery methods, for element interaction
- reference link / How it works…
- JSFiddle
- URL / Getting ready
- JW player
- reference link / Testing the handling of callbacks
K
- Karma
- about / Introduction, Installing Karma
- references / Installing Karma, Running tests using Karma
- installing / How to do it…, There's more…
- used, for running tests / Getting ready, How it works…
- karma-ng-html2js-preprocessor plugin
- URL, for installing / Getting ready
- URL, for configuring / Getting ready
- about / How it works…
L
- Lineman
- URL / Installing Testem
M
- matchers
- reference link / How it works…, There's more…
- about / There's more…
- Mocha
- URL / Introduction
- mock helpers
- used, for testing service data / Testing service data using mock helpers, Getting ready, How to do it…, How it works…
- mocks / How it works…
- mocks, for HTTP calls
- modularity, AngularJS application
- reference link / Introduction
- module
- loading / Loading a module, How to do it…
- multiple modules
- configuring / There's more…
N
- $new() method
- reference link / How it works…
- navigation
- testing, Protractor used / Testing navigation using Protractor, How to do it…, How it works…
- navigation scope changes
- testing, with Protractor / Testing navigation scope changes with Protractor, Getting ready, How it works…
- ng-inspector tool
- URL / See also
- ng-repeat directive
- URL / Getting ready
- ng-show animation event callbacks
- reference link / Getting ready
- ngAnimateMock module
- animations, testing with / Testing animations with ngAnimateMock, Getting ready, How to do it…
- ngAnimate module
- references / Introduction
- ngMock module
- URL / How it works…, Loading a module
- ngRoute
- about / Getting ready
- used, for testing / Getting ready, How to do it…
- used, for testing route parameters / Getting ready, How it works…
- ngRoute module
- URL / Introduction
- Node.js
- npm, JSONPlaceholder
- number filter AngularJS
- reference link / Getting ready
O
- object
- used, for mocking injected instances / Mocking injected instances using an object, How to do it…, How it works…
- on() method
- reference link / Testing the handling of external events
- one expectation per spec rule / Writing a test spec
P
- $provide service
- URL / How it works…, How it works…
- page loading
- testing, Protractor used / Testing page loading using Protractor, How to do it…
- Page Objects
- reference link / There's more…
- Plunker
- URL / Getting ready
- promise / Getting ready
- Protractor
- about / Introduction
- installing / Installing Protractor, How to do it…
- URL / Installing Protractor
- URL, for browser setup guide / Getting ready
- used, for running simple test / Running a simple test using Protractor, How to do it…, How it works…
- used, for testing page loading / Testing page loading using Protractor, How to do it…
- used, for testing navigation / Testing navigation using Protractor, How to do it…, How it works…
- used, for testing redirection / Testing redirection using Protractor, Getting ready, How it works…
- used, for testing initial state of scope object / Testing the initial state of a scope object with Protractor, How to do it…, How it works…
- used, for testing interactive scope changes / Testing interactive scope changes with Protractor, How to do it…, How it works…
- used, for testing navigation scope changes / Testing navigation scope changes with Protractor, Getting ready, How it works…
- used, for directives changes on interactions / Directive changes on interaction using Protractor, How to do it…, How it works…
- used, for testing events / Testing events using Protractor, How to do it…
- used, for testing filter changes based on input / Using Protractor to test filter changes based on input, How it works…
- used, for testing filter changes based on events / Using Protractor to test filter changes based on events, Getting ready, How to do it…, How it works…
- used, for testing HTTP requests / Using Protractor to test HTTP requests, Getting ready, How to do it…, How it works…
- Protractor API
- URL, for documentation / There's more…
Q
- querySelector() method
- example / There's more…
R
- $rootElement service
- reference link / How to do it…
- $routeParams service
- $routeProvider function
- redirection
- testing, Protractor used / Testing redirection using Protractor, Getting ready, How it works…
- rejected $http promises
- repeater content
- accessing / Accessing repeater content, How it works…
- RESTful API
- URL / Introduction
- route parameters
- about / Testing route parameters with ngRoute
- testing, ngRoute used / Getting ready, How it works…
- routeParam service
- URL / Getting ready
- Ruby on Rails / Installing Protractor
S
- $stateProvider ui-router
- scope / Introduction
- scope changes, based on DOM events / Scope changes based on DOM events, How to do it…, How it works…
- scope changes, based on user input / Scope changes based on user input, How to do it…, How it works…
- selectors
- used, for searching elements / Searching elements using selectors, How it works…
- Selenium / How to do it…
- service
- about / Introduction
- URL / Introduction
- testing / Getting started with testing a service, How to do it…
- service data
- testing, mock helpers used / Testing service data using mock helpers, Getting ready, How to do it…, How it works…
- SimpleHTTPServer
- URL / Getting ready
- simple test
- running, Jasmine used / Running a simple test using Jasmine, How to do it…, How it works…
- running, Protractor used / Running a simple test using Protractor, How to do it…, How it works…
- Single-Page Applications (SPA)
- about / Introduction
- Sinon.JS library
- spies
- URL / Mocking injected instances using spies
- about / Mocking injected instances using spies
- used, for mocking injected instances / Getting ready, How to do it…, How it works…
- used, for testing HTTP GET requests / Using spies to test HTTP GET requests, How to do it…, How it works…
- used, for testing HTTP POST requests / Using spies to test HTTP POST requests, How to do it…, How it works…, There's more…
- Streams Handbook
- URL / See also
- synchronous testing, of animations / Synchronous testing of animations, How to do it…, How it works…
T
- $templateCache service
- URL / There's more…
- templateUrl
- setting up / Setting up templateUrl, How to do it…, How it works…
- Test-Driven Development (TDD)
- about / Introduction
- Test Driven Development (TDD) / Installing Protractor
- Testem
- about / Introduction
- installing / Installing Testem, How to do it…
- URL / Installing Testem
- used, for running tests / Running tests using Testem, How to do it…, How it works…
- testing
- setting up, for controller / Setting up for testing a controller , How it works…
- test runners
- automating, Grunt used / Automating test runners using Grunt, How to do it…
- automating, Gulp used / Automating test runners using Gulp, Getting ready, How to do it…
- tests
- running, Karma used / Getting ready, How it works…
- running, Testem used / Running tests using Testem, How to do it…, How it works…
- test spec
- writing / Writing a test spec, How to do it…, How it works…
- transitioning state
- testing, with ui-router / Testing the transitioning state with ui-router, How to do it…, How it works…
U
- ui-router
- URL / Introduction
- about / Getting started with testing using ui-router
- used, in testing / Getting ready, How it works…
- references / Getting ready
- transitioning state, testing with / Testing the transitioning state with ui-router, How to do it…, How it works…
- URL parameters, testing with / Testing URL parameters with ui-router, Getting ready, How it works…
- reference link / Testing navigation scope changes with Protractor
- ui-router framework
- URL / Introduction
- URL parameters
- testing, with ui-router / Testing URL parameters with ui-router, Getting ready, How it works…
W
- WebDriver
- URL / Installing Protractor