Software Quality, CSU Chico, Buffardi
Software Quality Advanced Course
This page includes the description of an advanced (graduate or upper-division) level course that concentrates on software quality with a particular emphasis on unit testing. It includes an overview of the course as well as a series of assignments that walk through installing a testing framework, writing unit tests, and evaluating the quality of testing thoroughness.
Before the Term
The materials of this course are designed for tools that support development in C++ on a *nix-based operating system. However, similar tools exist for other languages and development environments. For example, students with more experience with Java would use jUnit testing framework and JaCoCo coverage tool instead of GoogleTest and gcov.
If students do not all have the same operating systems, it is highly recommended that the necessary compiler and development tools are pre-installed on a virtual machine or in a computer lab that students are given access to. For example, for a class using C++ in *nix, one should install and configure: gcc, Clang, LLVM, and gcov.
In an advanced study of software engineering, students will refine skills including version control, software testing, and evaluating software quality using modern technologies. Students will collaborate in a distributed software development environment and establish online portfolios by contributing to open source projects and interacting with popular software engineering communities.
Prerequisites: Undergraduate Software Engineering course or equivalent; Advanced programming experience necessary
No textbook required.
A laptop computer will be needed for all course meetings.
Each assignment is graded on an 100 point scale and then weighted according to the following distribution:
- Project 75%
- Quizzes 15%
- Exercises 10%
For the entire semester, each student will be assigned to a specific open source project. Students are expected to learn about the existing project and become a meaningful contributor to it. This will involve communicating with the existing community and contributions can include:
- Code maintenance and updating
- Bug logging
- Fixing bugs
- Development environment maintenance and updating
- Multiple students will contribute to the same project. However, each student will be expected to make (and demonstrate) individual contributions. Each week, every student should create a work log entry that includes one-sentence summaries for:
* What I've done * What "blockers" I have * What I am going to do next week
- Team collaboration using Git and GitHub
- Free and Open Source Software: Licensing, Principles, Projects; Assign students to FOSS projects
- Review of Agile methodology: Principles, Scrum, incremental development, product backlogs
- Quiz on software engineering and collaboration; review quiz
- Setting up testing framework and how to write a unit test; Unit Test With GoogleTest Activity
- Test-Driven Development; Introduction to Test Driven Development
- Quiz on unit testing; review quiz
- Static Analysis
- Introduction to using coverage tools; Branch Test Coverage
- Line coverage / condition coverage / Conditional coverage (atomic decisions/branches); Testing And Coverage Assignment
- Overview of advanced testing topics: Mutation Testing, Integration Testing
- Quiz on test coverage; review quiz; Regression Test Assignment
- Review FOSS contributions
The following assignments should be completed in order and generally depend upon learning from the preceding assignments.
- Unit Test With GoogleTest Activity
- Introduction to Test Driven Development
- Introduction to Static Analysis
- Branch Test Coverage
- Testing And Coverage Assignment
- Regression Test Assignment
This work by Steven P. Crain (...@plattsburgh.edu) is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License