Foundations of Testing
Introduction to testing
()
Edge cases: NullPointerException
Edge case: Digits of a number
Edge cases: Array maximum
Introduction to JUnit
()
Digits of a number
Digits of a number fail
Unit testing with JUnit
()
Currency conversion
Username validation
Handling Exceptions: Message Processing
Testing with Dependencies
Integration testing
()
Foreign exchange
Foreign Exchange: Error scenario
Mocking and Stubbing in Unit Tests
()
Unit test: Foreign exchange market
Unit test: Foreign exchange exceptions
Verification in mocking
()
Unit test: Database message
Unit test: Database with a list
Unit test: Alerting
Further techniques and annotations
Parameterized testing
()
Username Validation Parameterized
CsvSource: Digits
Additional annotations
()
Digits with MethodSource
ParameterizedTest: List sum
BeforeEach: Alerting
Test-driven development
()
Applying TDD to reverse a number
Applying TDD to reverse a number - part two
Wrap-up
()