[SYMBOL][A][B][C][D][E][F][G][H][I][J][L][M][N][O][P][R][S][T][U][V][W][X]
_ (underscore), 2nd
-> character
; (semicolon)
*. (star-dot operator)
<< operator
== operator
>> (shift operator)
>>> operator, 2nd
| (pipe symbol)
|| notation
abstract syntax tree.
See AST.
acceptance tests
activate() method
@After annotation
@AfterClass annotation
agnostic testing of Java and Groovy
Allure
and: block, 2nd
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
Arquillian, 2nd
Artifactory
assert phase
asserts vs. assertions
AST (abstract syntax tree) transformations
authorization event
@AutoCleanup annotation
BDD
@Before annotation
@BeforeClass annotation
book source code in, 2nd
Boolean values
browser automation
bugs, defined
builds, running tests as part of build process
code coverage
splitting unit, integration, and functional tests
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() method, 2nd
closures
code duplication
code reduction using
coding features, 2nd
collaboration
@Collaborator annotation
compile-time macros
concise code
@ContextConfiguration annotation
credit card processing example
Cucumber
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 Groovy, 2nd
def keyword, 2nd
design features of Spock
documentation
DRY principle, 2nd
DSL (domain-specific language), 2nd
dynamic programming languages, 2nd
e-shop example application
EasyMock
Eclipse, 2nd
endsWith() method
English-like flow of Spock, 2nd
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
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
GDK (Groovy Development Kit)
Geb
browser automation with
using with Spock
Gherkin extension
GitHub
given-when-then flow
given: block
Gradle, 2nd
gradual adoption of Spock in projects
graphical user interface.
See GUI.
Groovy
Groovy Development Kit.
See GDK.
Groovy SQL
groovyc compiler
grouping test code, 2nd
GStrings
GUI (graphical user interface)
Guice support
Hamcrest matchers
hasItem() matcher
IDE (integrated development environment)
@Ignore annotation
@IgnoreIf annotation
@IgnoreRest annotation
inspecting failed tests, 2nd
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
Java EE support
Java Virtual Machine.
See JVM.
JBehave
JCenter
JDK (Java Development Kit)
Jenkins, 2nd
jFairy data generator library
jMock, 2nd
join() method
JSON file, reading
JUnit
compatibility with
mocks and
setup-stimulate-assert flow of
JVM (Java Virtual Machine)
large tests
reusing interactions in then
using helper methods to improve readability
left-shift operator
lenient vs. strict mocks
LinkedHashMap
lists, 2nd
long-lived objects, with @Shared annotation
mailing list
map-based constructors
maps, 2nd
marking class being tested
Maven, 2nd
Maven Failsafe
mocked objects interaction, 2nd
mocking, 2nd
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
Mockito, 2nd, 3rd
mocks
defined, 2nd
filmmaking analogy for
partial mocks using spies
overview
replacing spies with mock
showing problematic code base using
MongoDB
multivalued data iterators
@Narrative annotation
NetBeans
Nexus
not() matcher
notThrown() method
ObjectGraphBuilders, creating test input with
old() method
online() method
output parameters, 2nd
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 ( | )
PowerMock, 2nd, 3rd
println method
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
RSpec, 2nd
self-documenting tests
Serenity
setup and cleanup
of features
of specifications
setup phase
setup-stimulate-assert flow of, 2nd
setup: block
setup() method, 2nd
@Shared annotation
shift operator
SOLID principles
spies, partial mocks using
overview
replacing spies with mock
showing problematic code base using
Spock Collaborators extension
Spock Genesis, 2nd
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
defined, 2nd, 3rd
filmmaking analogy for
@Subject annotation
Surefire plugin
tabular data input with Spock, 2nd
test doubles
TestNG, 2nd, 3rd
text file, reading
then: block, 2nd
reusing assertions in
reusing interactions in
thrown() method
@Timeout annotation
@Title annotation
toString() method
@Transactional annotation
true/false statements, 2nd
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
web applications, functional testing of
browser automation with Geb
example application
interacting with web page
using Geb with Spock
when: block, 2nd
where: block
@Unroll annotation
lifecycle of
limitations of data tables
maintenance of data tables
overview, 2nd
using data tables in
using expressions and statements in data tables
with() method, 2nd, 3rd
writing specifications
XML file, reading
XML, reading external dataset from
XmlSlurper
18.191.139.169