Docsity

CS 576 JUnit Testing Assignment 3 for Dependable Software Systems, Exams of Computer Science

Toggle sidebar
bg1
CS 576 Dependable Software Systems
JUnit Testing Assignment 3
Please submit a PDF file via email. The file should be in the form id_JUnit3.pdf (in my case it
would be jhk39_JUnit3.pdf). You should send the email to [email protected] with the subject
CS576 JUnit3 id (again, in my case the subject would be CS576 JUnit3 jhk39). If you have any
questions, let me know and I will get back to you as soon as possible.
Due: Sept 2nd, 2006
The objective of this assignment is for you to put together what you have learned so far about
unit testing, and coverage testing. You will have till the last day of classes to finish the
assignment. I would like for you to take a JAVA assignment that you have written previously
and develop a test suite for it. If you don’t have a JAVA application that you have previously
written, contact me as soon as possible.
I realize that this is a difficult assignment. Turn in a listing of your newly created test cases,
evidence that test suite is good (i.e. show the coverage), and a description of how you went about
creating new test cases, and why you created the test cases you did.
You can also demonstrate that the code you have (the application) by running other software
metric tools on it as we did in the first assignment.
Good Luck!
Resources
The following website provides an excellent resource for leaning how to develop test case for
JUnit:
• JUnit Primer: http://clarkware.com/articles/JUnitPrimer.html
• If you use eclipse: http://open.ncsu.edu/se/tutorials/junit/

Partial preview of the text

Download CS 576 JUnit Testing Assignment 3 for Dependable Software Systems and more Exams Computer Science in PDF only on Docsity!

CS 576 Dependable Software Systems JUnit Testing Assignment 3 Please submit a PDF file via email. The file should be in the form id_JUnit3.pdf (in my case it would be jhk39_JUnit3.pdf ). You should send the email to [email protected] with the subject CS576 JUnit3 id (again, in my case the subject would be CS576 JUnit3 jhk39 ). If you have any questions, let me know and I will get back to you as soon as possible. Due: Sept 2 nd , 2006 The objective of this assignment is for you to put together what you have learned so far about unit testing, and coverage testing. You will have till the last day of classes to finish the assignment. I would like for you to take a JAVA assignment that you have written previously and develop a test suite for it. If you don’t have a JAVA application that you have previously written, contact me as soon as possible. I realize that this is a difficult assignment. Turn in a listing of your newly created test cases, evidence that test suite is good (i.e. show the coverage), and a description of how you went about creating new test cases, and why you created the test cases you did. You can also demonstrate that the code you have (the application) by running other software metric tools on it as we did in the first assignment. Good Luck! Resources The following website provides an excellent resource for leaning how to develop test case for JUnit:

  • JUnit Primer: http://clarkware.com/articles/JUnitPrimer.html
  • If you use eclipse: http://open.ncsu.edu/se/tutorials/junit/