Professional Documents
Culture Documents
Homework 2
Homework 2
1. Your second homework is about writing a basis-path testing from your software projects.
Draw the flowchart of the function/method and show the basis paths.
2. I want you to write four mutant codes for one of the Unit tests you have written in your
homework 1.
(totaly four mutant codes. Not four for each test please) You can use a tool (PIT) if you like or you can
write your own mutant tests manually. (35 points)
3. Provide a table-based test scenario for one of your methods in your project. Draw the table and
write the Tests for the conditions according to the Table. (35 points)
Good luck.