Assignment 2
Software Engineering Spring 2007
Test specification
Slides from lecture can be found here
Based on your own requirements document, you must prepare test cases.
For each test case, you must give
- test data
- expected result - and how you plan to check if the actual
result is correct
- which requirement(s) are tested by this test case (traceability!)
Make sure that
- all requirements have tests associated to them
- all requirements that apply to the simple ray tracer are easily extracted
- you plan ahead for running a serious number of tests in an efficient
way
- you follow the guidelines for documents
Read an XML
presentation
(OH in Swedish) or a short introduction
to XML (in English). Or search the web for an XML tutorial.
The DTD for the ray tracer files is at http://www.it.uu.se/edu/course/homepage/pm2/VT04/pm2gl.txt.
Example test files in xml- and ppm-format can be found at http://www.it.uu.se/edu/course/homepage/pvt/vt04/xml.
Use the program xview to view ppm-files.
To create or edit XML-files you may use the XML-editor xmlpro
. Run it by the command /it/kurs/pm2/vt04/xmlpro. Documentation
is available in pdf-format.
[This used to be a common-problem fix - not sure if it is still valid:
Before you can run xmlpro you must copy the license file /it/kurs/pm2/vt04/xmlpro2.01/xmlpro.prp
to the directory that is your working directory when you run xmlpro.]
Test Planning
The Methods of Programming course students are now working on their assignment
2 - the simple ray tracer - and think that they have all the time in the
world. If you are working with an MP2 group, you have to agree with them
on internal deadlines that allows you and them to make the external
(i.e. the teachers') deadlines. Specifically, you have to agree on
two deadlines when the programs (simple and extended ray-tracer) are
available for system testing. The planning overview
gives some hints.
Administrative
- The assignment is made in groups of three.
You are welcome to discuss the assignment with others if it helps
you clarify your thinking, but submit your own work!
- Important: with the test specification you must also hand
in the requirements specification that it refers to (i.e., the right version).
- Deadline: 9/3 at 17:00
- You must write in English.