Om Pro iOS Testing
Chapter 1 - Introduction to Testing
1. Testing - Doing the same thing over and over again expecting the same results 2. Where Testing meets us and why it''s important
3. Different Types of Testing Methods
4. Say hello to XCTest Framework Chapter 2 - Setup a testing infrastructure 1. All About testing targets
2. Testing Code Organization Chapter 3 - Prepare your code for testing 1. Using interactors and entities
2. Mark private methods
3. Mocks and Spies Chapter 4 - Unit Tests
1. What are unit tests?
2. What functions should be covered?
3. Write our first unit test
4. Code Coverage
5. Write several tests for the same function 6. Testing A-Sync functions
7. Best Practices Chapter 5 - Performance Tests 1. Importance of Performance Tests 2. What metrics can we measure? 3. Meet XCTMetric Protocol
4. Write our first Performance test 5. Set Baseline
6. Best Practices
Chapter 6 - Integration Tests 1. What are the differences between unit tests and Integration Tests 2. How to set the ground for integration tests
3. We still have mocks
4. What integrations are common to test?
Chapter 7 - UI Tests 1. What are UI Tests
2. It all starts with accessibility 3. UI Testing Challenges
4. Simulate your backend 5. Meet Page Object Model 6. UI Testing Best Practices
Chapter 8 - Snapshot Testing 1. Snapshot Testing - Closest to real QA Manual Regression 2. iOS-snapshot-test-case - Facebook and Uber solution
3. How to use it?
4. Pros and Cons
Chapter 9 - Share Tests between iOS and Android 1. Shared code - out, shared tests - in. 2. It all starts with consistent API
3. Prepare your unit tests for that
4. Setup a dedicated repository
5. Best practices
10. Chapter 10 - Test-Driven Development (TDD)
1. In short - what is TDD?
2. TDD Advantages
3. TDD is not a type of test, it''s a development method 4. TDD Process
Vis mer