Index

As this ebook edition doesn't have fixed pagination, the page numbers below are hyperlinked for reference only, based on the printed edition of this book.

A

assert 59

assertions

supporting, with testing library 67-71

B

beta environment 337

bool confirms

equality, confirming 76-82

fixing 76

build failure 36, 37

C

C++

using, to write tests 11-15

char pointers 305

class 6

classic style 288

confirm 59

types, adding 87-93

writing 101, 102

Coordinated Universal Time (UTC) 180

Curiously Recurring Template Pattern (CRTP) 224

current confirmations

issue 288, 289

custom Hamcrest matchers

writing 327-332

D

default tag values

adding 199-212

dependencies

designing with 270- 274

dependency injection 271

development environment 337

Disjunctive Normal Form (DNF) 227

E

epsilon 317

error cases

testing 72- 74

errors

handling, in teardown 145-149

handling, in test setup 145- 149

expect 59

expected failures 43

Extensible Markup Language (XML) 263

F

filtering

enhancing, to allow filtering based on tag relative values 245-260

options, exploring 212-215

first message

confirming 172-178

logging 172-178

floating-point Hamcrest matchers

adding 322-326

floating-point values

comparisons 310-321

confirming 96-101

function 4

functor 6

G

Greenwich Mean Time (GMT) 180

H

Hamcrest matchers

test library, enhancing to support 294-300

Hamcrest style 289

Hamcrest types

adding 300-307

I

integrated development environment (IDE) 171

L

lambdas

exploring, for tests 108-112

line numbers

obtaining, without macros 106, 107

test failures, decoupling from 82- 87

logging issues

fixing 398-400

logging library

building 164

building, with TDD 165

designing 166-169

making thread-safe 361-367

log information

controlling 235-244

log levels

adding 190-198

log messages

constructing, with streams 181-184

filtering, with tests 226- 234

M

macros

not using, for obtaining line numbers 106, 107

magic numbers 68

microservices 336

missed failure 54

counting 56

monolithic application 336

multiple logging outputs

adding 274- 284

multiple service calls

making 379-385

multiple tests

supporting, with test declaration 25-28

multiple threads

testing, without using sleep 386- 397

with code, testing 367-375

N

namespace 11

O

output results

redirecting 31, 32

P

policy 121

policy class 121

production environment 337

project

testing 159

R

refactoring 82

requires feature 308

results

summarizing 28-31

S

service 338

testing, considerations 338, 339

service path 345

service return type

changing 375-379

service testing

challenges 336-338

setup 115

SimpleService project 340-350

single test result

reporting 20-25

streams

log messages, constructing with 181-184

string confirmations

simplifying 290-294

string literals

confirming 94-96

T

tag design

refactoring, with TDD 221-226

tag types

adding 216-220

teardown 115

enhancing, for multiple tests 123-145

errors, handling 145-149

supporting 116-123

test 4

appearance 5, 6

designing, by filtering log messages 226-234

easy understandability 152, 153

enhancement, for obtaining another pass 43-57

features 151

gaps, finding 188, 189

improving, with descriptive names 152, 153

information requirements 6-10

internal steps, checking 159

lambdas, exploring for 108-112

multiple threads, using 352-361

pass or failure, detecting 60-66

random behavior, using 157, 158

specific scenario focused tests 154-157

types 265, 266

using 15-18

writing, to pass 38-43

writing, with C++ 11-15

test declaration

enhancing, to support multiple tests 25-28

test-driven development (TDD) 310

integration test 264, 265

logging library, building with 165

used, for starting project 169-171

system tests 264, 265

tag design, refactoring with 221-226

test failures

decoupling, from line numbers 82-87

testing

limitation 261-263

testing library

enhancing, to support assertions 67- 71

enhancing, to support Hamcrest matchers 294-300

test setup

enhancing, for multiple tests 123-145

errors, handling 145-149

supporting 116-123

timestamps

adding 179, 180

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

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