Books & Videos

Table of Contents

  1. Chapter 1 Testable JavaScript

    1. Prior Art

    2. Code Is for People

    3. Beyond Application Code

    4. Recap

  2. Chapter 2 Complexity

    1. Code Size

    2. JSLint

    3. Cyclomatic Complexity

    4. Reuse

    5. Fan-Out

    6. Fan-In

    7. Coupling

    8. Coupling Metrics

    9. Coupling in the Real World

    10. Dependency Injection

    11. Comments

    12. The Human Test

    13. Recap

  3. Chapter 3 Event-Based Architectures

    1. The Benefits of Event-Based Programming

    2. The Event Hub

    3. Web-Based Applications

    4. Testing Event-Based Architectures

    5. Caveats to Event-Based Architectures

    6. A Smarter Hub: The Event Switch

    7. Recap

  4. Chapter 4 Unit Tests

    1. A Framework

    2. Let’s Get Clean

    3. Writing Good Tests

    4. Real-World Testing

    5. Running Tests: Client-Side JavaScript

    6. Running Tests: Server-Side JavaScript

    7. Recap

  5. Chapter 5 Code Coverage

    1. Coverage Basics

    2. Code Coverage Data

    3. A Hands-on Example

    4. Exercise/Deploy

    5. Persisting Coverage Information

    6. Generating Output

    7. Aggregation

    8. Hidden Files

    9. Coverage Goals

    10. Recap

  6. Chapter 6 Integration, Performance, and Load Testing

    1. Integration Testing

    2. Performance Testing

    3. Load Testing

    4. Tracking Resource Usage

    5. Recap

  7. Chapter 7 Debugging

    1. In-Browser Debugging

    2. Node.js Debugging

    3. Remote Debugging

    4. Mobile Debugging

    5. Production Debugging

    6. Recap

  8. Chapter 8 Automation

    1. What to Automate

    2. When to Automate

    3. How to Automate

    4. Recap

  1. Colophon