Automated Testing and Dynamic Analysis
ATA Acad. year 2022/2023 Summer semester 5 credits
Coverage criteria. Control flow graph. Unit testing. Test doubles. Requirement-based testing. Bug localisation. Data-driven testing. Automatic generation of test data. Fuzz testing. Performance testing. Run-time monitoring. Testing of parallel programs. Test management. Reliability of test reports.
Language of instruction
- 26 hrs lectures
- 26 hrs projects
- 60 pts final exam (written part)
- 40 pts projects
To provide an overview of different approaches to software testing. The focus is put on automated software verification. To gain practical skill of tracing the program run and subsystem communication. To gain practical skill of software testing required by a quality assurance analyst.
Why is the course taught
Software testing is forefront in quality assurance. Since software designs rapidly increase in their complexity, there is a strong need for automation of each development phase, including quality assurance. Students will learn different approaches to automation of software testing and dynamic analysis based on tracing of program runs. Students are needed members of every development teams for their knowledge gained in this course.
- Spillner, A., Linz, T. , Schaefer, H.: Software Testing Foundations : A Study Guide for the Certified Tester Exam. Rocky Nook Computing. 2014. 296 s.. ISBN 9781937538422
- Kaner, C., James, B., Pettichord, B.: Lessons Learned in Software Testing: A Context-Driven Approach. Wiley Computer Publishing, 2002, 286 s., ISBN 0-471-08112-4.
- Marick, B.: The Craft Of Software Testing, Subsystem Testing, Prentice Hall PTR, 1995, ISBN 0-13-177411-5.
- Ammann, P., Offutt, J.: Introduction to Software Testing. Cambridge University Press, 2008, 322 s. ISBN 978-0-511-39330-3.
- Myers, G. J., Sandler, C., Badgett, T.: The Art of Software Testing, 3. vydání. John Wiley & Sons, 2011, 256 s., ISBN 978-1118031964
- Farrell-Vinay, P.: Manage Software Testing. Auerbach Publications, 2008, 537 s., ISBN 978-0-8493-9383-9
Syllabus of lectures
- Model-based testing I
- Control flow graph, Interprocedural CFG.
- Coverage-driven generation of test cases.
- Model-based testing II
- Automation of unit tests.
- xUnit test patterns (Mocking).
- Test fixture and test doubles.
- Requirement based testing.
- Requirement classification.
- Automation in Behaviour-driven development (BDD).
- Data-driven testing I
- Combinatorial testing.
- Test data minimization.
- Data-drivven testing II
- API testing.
- Systematic generation of test data.
- Data-driven testing III
- Mutation testing.
- Fuzz testing.
- Performance testing
- Performance parameters.
- Types and processes of performance testing.
- Run-time verification II
- Test properties, temporal properties, parametric properties.
- Program instrumentation.
- Testing of parallel programs I
- Concurrency bug classification.
- Contracts for concurrency.
- Systematic vs. random testing.
- Noise injection methods.
- Testing of parallel programs II
- Atomrace and Eraser algorithms.
- Vector clocks.
- Fasttrack algorithm.
- Run-time verification I
- Low-level tracing.
- Post-mortem analysis.
Syllabus - others, projects and individual work of students
- Design of automated test suite with knowledge of source code and/or requirements.
- Implementation of run-time monitor.
Students can obtain up to 40 points from 2 projects (20 points each) and up to 60 points from the final exam.
Course inclusion in study plans