Assignment 2
Software Engineering Spring 2009
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
XML
Read an XML
presentation in Swedish
(slides) do a Google search for XML tutorial.
Example files for the ray tracer in XML format can be found in the /it/kurs/pm2/vt09/xml
directory. The DTD for the ray tracer files is here
(URI http://www.it.uu.se/edu/course/homepage/pm2/vt09/pm2gl.dtd,
/it/kurs/pm2/public_html/VT09/pm2gl.dtd in the Unix file system).
To view or edit XML files the xmlpro
XML editor can be used. The executable can be found as /it/kurs/pm2/vt09/xmlpro
on the Unix systems. Documentation
is available in pdf format. Before running xmlpro you must copy its license
file /it/kurs/pm2/vt09/xmlpro2.01/xmlpro.prp to your working directory.
Use the program xview to view ppm-files.
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: 13/3 at 17:00
- You must write in English.