Index

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

SYMBOL

_ (underscore)2nd
-> character
; (semicolon)
*. (star-dot operator)
<< operator
== operator
>> (shift operator)
>>> operator2nd
| (pipe symbol)
|| notation

A

abstract syntax tree.
    See AST.
acceptance tests
activate() method
@After annotation
@AfterClass annotation
agnostic testing of Java and Groovy
Allure
and: block2nd
Android extension
any() method
Apache Tapestry
arguments, method
  dynamic stubs that check arguments
  matching for stubbed methods
  verifying for methods of mocked classes
  verifying for mocked methods
Arquillian2nd
Artifactory
assert phase
asserts vs. assertions
AST (abstract syntax tree) transformations
authorization event
@AutoCleanup annotation

B

BDD
@Before annotation
@BeforeClass annotation
book source code in2nd
Boolean values
browser automation
bugs, defined
builds, running tests as part of build process
  code coverage
  splitting unit, integration, and functional tests

C

capturing event
casting
classes
  controlling input using stubs
    matching arguments for stubbed methods
    returning stubs from responses of other stubs
    sequential stubs with different responses for each call
    stubbing return values
    throwing exceptions when calling stubbed method
    using dynamic stubs that check arguments
  verifying values returned using mocks
    checking whether method was called
    stub capabilities and mocks
    verifying arguments of method calls
    verifying noninteractions for multiple mocked classes
    verifying number of method calls
    verifying order of interactions
    verifying types of arguments for mocked methods
cleanup: block
cleanup() method2nd
closures
code duplication
code reduction using
coding features2nd
collaboration
@Collaborator annotation
compile-time macros
concise code
@ContextConfiguration annotation
credit card processing example
Cucumber

D

Damage Control
data generators
  creating custom
  overview
  third-party
  using multivalued data iterators
data pipes
  dynamically generated parameters
  parameters that are constant
  parameters that depend on other parameters
data tables
  limitations of
  maintenance of
  using expressions and statements in
data-driven tests
dbUnit extension
declaring in Groovy2nd
def keyword2nd
design features of Spock
documentation
DRY principle2nd
DSL (domain-specific language)2nd
dynamic programming languages2nd

E

e-shop example application
EasyMock
Eclipse2nd
endsWith() method
English-like flow of Spock2nd
enterprise tests
  automatic cleanup of resources
  failing tests on timeout
  ignoring tests
    @Ignore annotation
    @IgnoreIf annotation
    @IgnoreRest annotation
    @Requires annotation
  large tests
    reusing assertions in then: block
    reusing interactions in then: block
    using helper methods to improve readability
  mapping tests to issue-tracking system
  partial mocks using spies
    overview
    replacing spies with mock
    showing problematic code base using
  testing for exceptions
enterprise-ready test framework, Spock as
equals() method
every() method
exceptions, throwing when calling stubbed method
Expando, creating test input with
expect: block

F

Failsafe plugin
fake collaborators
  defined
  e-shop example application
  isolating class in unit tests
  mocks and stubs
  overview
  when to use
fake objects in Spock
features
  defined
  setup and cleanup of
find() method
findAll() method
functional testing
  of REST services
    overview
    using @Stepwise annotation
    using Groovy RESTClient
    using Java libraries
  of web applications
    browser automation with Geb
    example application
    interacting with web page
    using Geb with Spock
  unit tests and integration tests vs.
    overview
    Spock support
    testing pyramid
functional tests, defined

G

GDK (Groovy Development Kit)
Geb
  browser automation with
  using with Spock
Gherkin extension
GitHub
given-when-then flow
given: block
Gradle2nd
gradual adoption of Spock in projects
graphical user interface.
    See GUI.
Groovy
Groovy Development Kit.
    See GDK.
Groovy SQL
groovyc compiler
grouping test code2nd
GStrings
GUI (graphical user interface)
Guice support

H

Hamcrest matchers
hasItem() matcher

I

IDE (integrated development environment)
@Ignore annotation
@IgnoreIf annotation
@IgnoreRest annotation
inspecting failed tests2nd
installing Spock
integrated development environment.
    See IDE.
integration testing
  defined
  Java EE and Guice support
  Spring context and
  testing Spring applications
  unit tests and functional tests vs.
    overview
    Spock support
    testing pyramid
  using Groovy SQL
IntelliJ IDE
isEmpty() method
@Issue annotation

J

Java EE support
Java Virtual Machine.
    See JVM.
JBehave
JCenter
JDK (Java Development Kit)
Jenkins2nd
jFairy data generator library
jMock2nd
join() method
JSON file, reading
JUnit
  compatibility with
  mocks and
  setup-stimulate-assert flow of
JVM (Java Virtual Machine)

L

large tests
  reusing interactions in then
  using helper methods to improve readability
left-shift operator
lenient vs. strict mocks
LinkedHashMap
lists2nd
long-lived objects, with @Shared annotation

M

mailing list
map-based constructors
maps2nd
marking class being tested
Maven2nd
Maven Failsafe
mocked objects interaction2nd
mocking2nd
  architecture considerations
    designing testable code
    lenient vs. strict mocks
  credit card processing example
  fake collaborators
    e-shop example application
    isolating class in unit tests
    mocks and stubs
    overview
    when to use
  verifying values returned from classes
    checking whether method was called
    stub capabilities and mocks
    verifying arguments of method calls
    verifying noninteractions for multiple mocked classes
    verifying number of method calls
    verifying order of interactions
    verifying types of arguments for mocked methods
  without external library
Mockito2nd3rd
mocks
  defined2nd
  filmmaking analogy for
  partial mocks using spies
    overview
    replacing spies with mock
    showing problematic code base using
MongoDB
multivalued data iterators

N

@Narrative annotation
NetBeans
Nexus
not() matcher
notThrown() method

O

ObjectGraphBuilders, creating test input with
old() method
online() method
output parameters2nd

P

parameterized tests
  data generators
    creating custom
    overview
    third-party
    using multivalued data iterators
  data pipes
    dynamically generated parameters
    overview
    parameters that are constant
    parameters that depend on other parameters
  documenting
  example of
  overview
  why needed
Phantom.js
pipe symbol ( | )
PowerMock2nd3rd
println method

R

ranges, in Groovy
reading
  JSON file
  text file
  XML file
recursive stubbing
@Requires annotation
REST services, functional testing of
  overview
  using @Stepwise annotation
  using Groovy RESTClient
  using Java libraries
Retry extension
return keyword
reusing
  assertions in then: block
  interactions in then: block
reusing interactions in then: block
right-shift operator
@Rollback annotation
RSpec2nd

S

self-documenting tests
Serenity
setup and cleanup
  of features
  of specifications
setup phase
setup-stimulate-assert flow of2nd
setup: block
setup() method2nd
@Shared annotation
shift operator
SOLID principles
spies, partial mocks using
  overview
  replacing spies with mock
  showing problematic code base using
Spock Collaborators extension
Spock Genesis2nd
Spock Reports
Spock versions
Spock Web Console
Spring applications
  integration testing of
  Spring context
Sputnik test runner
@Sql annotation
Stack Overflow
star-dot operator ( *. )
status classes
@Stepwise annotation
stimulus phase
strict vs. lenient mocks
strings
stubbing
  architecture considerations
    designing testable code
    lenient vs. strict mocks
  controlling input to classes
    matching arguments for stubbed methods
    returning stubs from responses of other stubs
    sequential stubs with different responses for each call
    stubbing return values
    throwing exceptions when calling stubbed method
    using dynamic stubs that check arguments
  credit card processing example
  fake collaborators
    e-shop example application
    isolating class in unit tests
    mocks and stubs
    overview
    when to use
  recursive
stubs
  defined2nd3rd
  filmmaking analogy for
@Subject annotation
Surefire plugin

T

tabular data input with Spock2nd
test doubles
TestNG2nd3rd
text file, reading
then: block2nd
  reusing assertions in
  reusing interactions in
thrown() method
@Timeout annotation
@Title annotation
toString() method
@Transactional annotation
true/false statements2nd

U

underscore ( _ )2nd
unit tests
  defined
  duplicating vs. refactoring
  integration tests and functional tests vs.
    overview
    Spock support
    testing pyramid
@Unroll annotation
unsigned right-shift operator
unsigned shift operator

V

visibility modifiers

W

web applications, functional testing of
  browser automation with Geb
  example application
  interacting with web page
  using Geb with Spock
when: block2nd
where: block
  @Unroll annotation
  lifecycle of
  limitations of data tables
  maintenance of data tables
  overview2nd
  using data tables in
  using expressions and statements in data tables
with() method2nd3rd
writing specifications

X

XML file, reading
XML, reading external dataset from
XmlSlurper

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

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