After completing this course, you will have an understanding of the fundamental principles and processes of software testing. You will have actively created test cases and run them using an automated testing tool. You will being writing and recognizing good test cases, including input data and expected outcomes.
After completing this course, you will be able to…
- Describe the difference between verification and validation.
- Explain the goal of testing.
- Use appropriate test terminology in communication; specifically: test fixture, logical test case, concrete test case, test script, test oracle, and fault.
- Describe the motivations for white and black box testing.
- Compare and contrast test-first and test-last development techniques.
- Measure test adequacy using statement and branch coverage.
- Reason about the causes and acceptability of and poor coverage
- Assess the fault-finding effectiveness of a functional test suite using mutation testing.
- Critique black-box and white-box testing, describing the benefits and use of each within the greater development effort.
- Distinguish among the expected-value (true), heuristic, consistency (as used in A/B regression), and probability test oracles and select the one best-suited to the testing objective.
- Craft unit and integration test cases to detect defects within code and automate these tests using JUnit. To achieve this, students will employ test doubles to support their tests, including stubs (for state verification) and mocks (for behavioral verification) (https://martinfowler.com/articles/mocksArentStubs.html).
This course is primarily aimed at those learners interested in any of the following roles: Software Engineer, Software Engineer in Test, Test Automation Engineer, DevOps Engineer, Software Developer, Programmer, Computer Enthusiast. We expect that you should have an understanding of the Java programming language (or any similar object-oriented language and the ability to pick up Java syntax quickly) and some knowledge of the Software Development Lifecycle.
-In this module, you will be introduced to the basics of testing, especially the variety of terminology to be used through the rest of the course.
-In this module, you will investigate a variety of testing principles, models of testing, and types of systematic testing strategies.
Testing in the Software Development Lifecycle
-In this module, you will learn about the social aspects of testing. We will learn about test plans, testing status reports, and defect reporting.
Writing Good Unit Tests
-In this module, you will learn about writing unit tests and gain practice in writing these tests through three coding assignments, each with additional testing sophistication.
Gives a solid foundation on testing theory and concepts. The practical part has an exercise on writting a test plan and Java exercises on unit tests, code coverage, and testing doubles (like mocking).
I did not like the exercise on writting a test plan, I considered it not practical, maybe a little outdated. I do not think it fits well in an Agile/Lean/DevOps approach. But there was only a single one of this kind in the course.
The coding exercises were good. I wish it explored more complex scenarios, like integration and system tests, but then the course would be more advanced. Since this is the first course of 4 in a specialization, this makes sense as it is.