Skip to content

orta/pragmatic-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Pragmatic Approach to Testing

An ebook about pragmatic testing strategies. You can grab the epub here - it's usually up to date.

Prospective Pages
  • What & Why of the book

  • What is XCTest, how does it work?

  • How can I be pragmatic with my testing?

  • Types of Testing

    • Unit Testing
    • Behaviour Testing
    • Integration Testing
  • Useful terminology

    • Testing Terminology
      • DI
      • Stubs / Mocks
      • Fakes ( + protocols )
  • Tooling for the types of testing

    • Unit Testing ( Specta / Expecta Quick / Nimble )
      • Three types of unit tests
    • Mocking / Stubbing ( OCMock / OCMockito )
      • Network Stubbing ( OHTTP / VCRURLConnection )
  • Getting Setup

    • Introducing tests into an existing application
    • Starting a new application and using tests
    • Developer Operations aka Automation
  • Techniques for keeping testing code sane

    • Nested Before / After usage
    • Creation of app-centric it blocks
    • Fixtures / Factories
  • Techniques for avoiding Async Testing

    • Networking in View Controllers ( Network Models )
    • Animations
    • Dispatch Asyncs ( ar_dispatch etc )
    • will / XCTest 6
  • Techniques for testing different aspects of the app

    • Views ( Snapshots )
    • User interactions
    • iPad / iPhone
  • Core Data

    • Stubbed Core Data Contexts
    • Testing Migrations
  • Testing Common Cocoa Patterns

    • Delegate / Protocols
    • Singletons
    • Notifications
    • KVO
    • Networking
    • MVC
  • Making libraries to get annoying tests out of your app

  • Using Xcode pragmatically

  • Improving Xcode

  • Expanding on Specta / Expecta

  • Test Driven Development

  • Swift

  • Recommended

    • Books
    • Websites
    • Twitter Follows
  • OSS Testing in iOS

    • RestKit + AFNetworking
    • Moya / Eidolon
  • Eigen

Existing Pages
Topics Last Updated
Core Data_migrations 17 Mar
Dependency Injection 29 Mar
Developer Operations 29 Mar
Getting Setup 29 Mar
How Can_i_be_pragmatic 29 Mar
How I_got_started 29 Mar
Introducing Tests_into_an_existing_app 07 Feb
Recommended Websites 17 Mar
Stubbed Core_data 17 Mar
Techniques For_avoiding_async_testing 07 Feb
Testing Delegates 29 Mar
Three Types_of_unit_tests 29 Mar
Tooling For_different_types_of_testing 29 Mar
Types Of_testing 17 Mar
Useful Terminology 17 Mar
What And_why 11 Sep
What Is_xctest 11 Sep
Generating the ebook

The latest epub copy can be generated by running ruby generate.rb

About

Pragmatic testing ebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published