JaVa
   

Task, 350 tearDown(), 35 temporary dummy, 140 test, 295 test automation, 10. See automating unit tests test automation costs, 306 test axioms, 146–148 test cases create, 31–32 defined, 26 find, 86–87 RUP, 310 test class hierarchies by refactoring, 151–152 test class hierarchy, 58 test classes, 30–31 test code/app code, separation?, 59 test coverage, 6, 167–170 test data/expected results, distance, 68 test-driven development, 16 Test-driven Development By Example (Beck), 363 test driver, 24, 26 test effort to implementation effort ratio, 161 test-first development, 16–18. See also Basic steps of test-first approach test fixture, 34–35 test framework. See JUnit test ideas checklist, 72 test ideas/heuristics, 65–90 black-box tests, 70 boundary cases, 73–74 consistency, 70 DBC, 84–86 defensive programming, 85–86 equivalence classes, 74–75 error categories, 75 exception handling, 75–81 exceptions, catch/not catch, 69 finding test cases, 86–87 integration tests, 82 interaction tests, 82–84 length of test method, 66–67 naming conventions, 66 object intersections, 81–84 refactoring code/tests, 87–89 simplicity, 67 test data/expected results, distance, 68 test ideas checklist, 72 typical functionality, 71–72 white-box tests, 70 test levels, 24–25 Test Mentor, 334 test name, 66 test optimization. See how much is enough? test oracles, 68 test pattern for exception checking, 77 test reworking, 306 test scripts, 310 test suites, 26, 36–37, 198 test types, 5, 9–10, 311 testability as design goal, 57 TestDecorator, 92 tester class, 25 tester ego vs. developer ego, 66 testing from inside, 108 Testing Object-Oriented Systems (Binder), 363 testing on demand, 315 testing procedures, 310 testing stub, 100 testing the tests, 167 testless software, 317 TestListener, 92 TestResult, 92 TestRunner, 28 tests per class, 164 TestSetup, 327 TestSetup decorator, 198 textual parser, 185 textual TestRunner, 28–29 thread-safe, 212 thread starvation, 202 threadalyzer, 223 threads, 201. See also concurrent programs threshold values boundary cases, 73–74 dummy/mock objects, 116–117 thrown exception, 326 Tomcat, 260 top-down approach, 55 TopLink, 173 transactions, 182–184 transition, 308 Turbine, 258 type, 156 types of interaction tests, 82–84 typical functionality, 71–72
JaVa
   
Comments