Index

[A][B][C][D][E][F][G][H][I][J][K][L][M][N][O][P][R][S][T][U][V][W]

A

actions
  dispatching
  overview
  testing
applications
  component contracts
  component system
  render functions
  templates
  Vue instances
assertion errors2nd
async function
asynchronous code
asynchronous tests
attributes method
await function

B

base constructor, Vue
beforeEach function2nd3rd
beforeMount hook
Boolean assertions, avoiding
browser-specific drivers
browsers
  automating
  running end-to-end tests in

C

catch statement
chained getters, testing
checked property
Cheerio
child components, testing
Chrome
  installing
  Vue.js devtools Chrome extension
Chrome Debugger
Chrome DevTools
classes, testing
  classes method
  overview
clearInterval function2nd
clearTimeout function
CLI (Vue command-line interface)
client-side routing
code coverage, fallacy of
command line
commit function2nd3rd
compiling files
compiling templates
component contract
component method testing
  adding properties to Vue instance
  mocking code
    Jest mock functions
    mocking Vue instance properties in components
    Vue lifecycle hooks
  mocking module dependencies
    asynchronous code
    Jest mocks
  overview
  public component methods
  timer functions
    fake timers
    spies
component options object
component-level test specifications
components2nd3rd
constructor function
createLocalVue function
createStore function2nd3rd4th
createWrapper function2nd3rd4th
custom Vue events, testing
  testing components that listen to
  testing that components emit

D

Date.now method2nd3rd
debugger statement
debugging
  end-to-end tests
  overview
defaultMountingOptions object
dependencies2nd
describe block
describe function
development server
directory structure, Vue
dispatching actions
DOM attributes, testing
drivers, browser-specific
DRY (don’t repeat yourself)
dynamic data, writing end-to-end tests for
dynamic route matching
dynamically generated output

E

EADDRINUSE error
element property
emitted method
end-to-end tests
  adding Nightwatch to project
    configuring
    dependencies, installing
    writing scripts
  alternative frameworks
  checking user journey with
  combining effectively with other testing types
  overview2nd3rd
  running in multiple browsers
  writing
    overview
    with Nightwatch
    with Nightwatch and WebDriver
env argument
environment setup
  Chrome
    Chrome DevTools
    Vue.js devtools Chrome extension
  command line
  Git
  JDK (Java Development Kit)
  Node and npm installation
    verifying installation
    with homebrew (OSX only)
    with Linux package managers
    with NVM
    with one-click installer
  text editors
ES modules
ESLint
eslint-vue plugin
events testing
  custom Vue events
    testing components that listen to
    testing that components emit
  input forms
    radio buttons
    text control inputs
  native DOM events
explicit testing
extends property
extreme mocking

F

factory functions
  creating
  DRY (don't repeat yourself)
  improving test code by following patterns
  overview
  overwriting default options
  trade-offs of
  wrapper
fail method
failing snapshot tests2nd
failing test
fake timers
false positives, avoiding
filters testing
  filters in components
  filters that use Date.now method
  overview
find method2nd
findAll method
finish method
flaky tests2nd
flushing promises
flushPromises method
frontend tests2nd3rd
function calls, storing

G

getters
  overview
  testing
Git, installing
GitHub, testing pull requests on
glob pattern
Goldilocks rule

H

Hacker News application
  downloading
  running production build locally
  writing
hidden class2nd
high-level test specifications
homebrew, installing Node and npm with
host filters
hot module replacement2nd
hydrating server-side app

I

implicit testing
input forms, testing
  radio buttons
  text control inputs
installing dependencies
integration tests2nd

J

JDK (Java Development Kit)2nd
Jest
  avoiding false positives
  compiling files
  describe function
  mock functions2nd
  mounting components
  snapshot tests
  test assertions
  unit testing components
  writing sanity tests
jest property
Jest transformers
jest.mock function
jest.useFakeTimers method
JSDOM library
jsdom, limitations of

K

keydown event2nd

L

leaky bucket problem
length property
links, testing
lint command
linting files
Linux package managers, installing Node and npm with
localVue constructor2nd3rd
Lodash library

M

manual testing
merge option, Lodash
mergeWith function
merging options
mixins testing
  global mixins in components
  local mixins in components
  mixins, defined
  overview
mkdir command
mock functions
mocked data
mockImplementation method
mocking code
  Jest mock functions
  mocking Vue instance properties in components
  Vue lifecycle hooks
mocking module dependencies
  asynchronous code
  Jest mocks
  using in moderation
mockReturnValue function
mocks option2nd3rd
modules, ES
mount function
mounting an instance
mounting components
mouseenter event
mouseup event
mutations
  overview
  testing

N

name property
native DOM events, testing
Nightwatch
  adding to projects
    configuring
    dependencies, installing
    writing scripts
  configuring
  writing end-to-end tests
    for dynamic data
    for routes
    overview, 2nd
node_modules directory
Node, installing
  verifying installation
  with homebrew
  with Linux package managers
  with NVM
  with one-click installer

npm (Node package manager)
  installing
    verifying installation
    with homebrew
    with Linux package managers
    with NVM
    with one-click installer
  overview
npm install command
NVM, installing Node and npm with

O

options, merging
OR operator
output, dynamically generated

P

package.json file
pagination2nd
patterns, improving test code by following
private methods
production build
  overview
  running Hacker News production build locally
promises
  flushing
  testing
props
  passing to components
  testing
    avoiding gotchas
    props method
propsData
prototype property
public component methods
pull requests
pwd command

R

radio buttons, testing
read-only properties
red, green, refactor
refactor code
regression testing
render functions
render method
rendered component output testing
  classes
    classes method
    overview
  creating test specifications
    component-level specifications
    high-level specifications
  DOM attributes
  props
    avoiding gotchas
    props method
  rendered text
    find method
    passing props to components
    text content of components
    text content of elements
  style
    accessing wrapper element
    adding style to applications
  testing number of rendered components
  when to test
rendered text, testing
  find method
  passing props to component
  text content of components
  text content of elements
renderToString method2nd3rd
reproducibility
REST API interface
route config objects
router properties, testing
  $route property
  $router property
  avoiding common gotchas
RouterLink component
  overview2nd
  testing
RouterLinkStub component
RouterView component2nd
routes
  updating
  writing end-to-end tests for
routes array
routing
  client-side
  overview
  server-side
runTimersToTime method

S

sanity tests2nd
scripts, writing
Selenium Server
SEO (search engine optimization)
serializable values2nd
server-side app, hydrating
server-side routing
setChecked method
setInterval function2nd
setTimeout function2nd
setupFiles option
setValue method
SFCs (single-file components)2nd
shallowMount method2nd
single-file components (SFCs)2nd
snapshot tests
  adding to workflow
  combining effectively with other testing types
  overview2nd
  writing for components
  writing for dynamic components
  writing for static components
source maps
specifications
spies
spyOn function
src directory
SSR (server-side rendering)
  advantages of
  disadvantages of
  overview
  projects
  testing implicitly
  testing SSR components
    render method
    Vue Server Test Utils
  testing status codes
start method
starter branch
state
  overview
  problem solved by Vuex
state management library
static components
static site
status codes, testing
store
  actions
  adding route to
  creating
  design of
  getters
  mutations
  store instance testing
  using router parameters in
stubs option
style property
style, testing
  accessing wrapper element
  adding style to applications
submit event
sum function
SuperTest library
synthetic event

T

TDD (test-driven development)
template string
templates
test assertions
test creation
  debugging with Chrome Debugger
  Jest
    avoiding false positives
    compiling files
    mounting components
    organizing tests with describe function
    test assertions
    unit testing components
    writing sanity tests
  Vue project structure
    build tools
    building projects
    directory structure
    linting files with ESLint
    npm
    package.json file
    Vue CLI
    writing test scripts
  Vue Test Utils library
    API
    shallowMount method
test function
testing
  approaches to
    automated testing
    manual testing
  chained getters
  code coverage, fallacy of
  defined
  filters
    filters in components
    filters that use Date.now method
    overview
  getters
  input forms
    radio buttons
    text control inputs
  learning when not to test
  links
  mutations
  promises
  TDD (test-driven development)
  types of
    combining effectively
    end-to-end tests
    snapshot tests
    unit tests
text content
  of components
  of elements
text control inputs, testing
text editors, selecting
time to content
timer functions, testing
  fake timers
  spies
timestamps2nd
toBe matcher2nd
toContain matcher2nd
toHaveBeenCalled matcher
toHaveBeenCalledWith matcher2nd3rd
toHaveLength matcher
toMatchSnapshot matcher2nd
transformers, Jest
trigger method
type errors

U

unit tests
  combining effectively with other testing types
  component contracts
  Goldilocks rule
  of components
  overview2nd
UNIX timestamp2nd
unixTime variable
updateSnapshot parameter
upperCase option
useFakeTimers method
user journeys

V

v-bind directive
v-if statement
v-model directive
value property2nd
version-control systems
Vue applications
  component contracts
  component system
  render functions
  templates
Vue CLI service package
Vue instances
  adding properties to
  mocking Vue instance properties in components
Vue project structure
  build tools
  building projects
  directory structure
  linting files with ESLint
  npm
  package.json file
  Vue CLI
  writing test scripts
Vue Router
  adding to applications
  dynamic route matching
  overview
  routing
    client-side
    overview
    server-side
  using Vuex with
    adding route to store
    using router parameters in store
Vue Router testing
  router properties
    $route property
    $router property
    avoiding common gotchas
  RouterLink component
Vue Test Utils error
Vue Test Utils library
  API
  shallowMount method
  testing SSR components
vue-axios library
vue-cli-service command
vue-server-renderer package
Vue.js devtools Chrome extension, installing
Vue.mixin method
Vuex
  adding to projects
  problem solved by
  state
  store
    actions
    creating
    getters
    mutations
  using with Vue Router
    adding route to store
    using router parameters in store
Vuex testing
  actions
  adding Vuex to projects
  getters
  in components
  mutations
  store design
  store instance

W

waitForElementVisible command
watch mode
WebDriver, writing end-to-end tests with
webpack
window object
window.history.pushState method
wrapper array
wrapper factory functions
wrapper methods

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.160.14