CSE 70, Spring 2008
Software Engineering
Lab 7 Instructions
Part 1: Incorporate more updates from the main project code.
-
Check out your team project in Eclipse.
-
Look at changesets
[148]
and [149]
in the main project code.
-
For each changeset,
apply a patch to your project or make equivalent modifications by hand.
(Your
IRCClient.java code may have evolved
to the point a patch won't apply.)
-
Update from the repository again
and run your tests to make sure they still pass,
then commit the changes you just applied,
including appropriate comments, as usual.
Part 2: Acceptance Testing with Concordion
-
Download acceptance.tgz
and extract it inside your project root directory
(something like
~/workspace/<PROJECT_ROOT>
depending what you named it when you checked out your project).
-
Tell Eclipse to use the
spec directory as a source folder
(like src and tests are).
-
Add all 3 of the
jar files under lib/concordion
to the build path, like the other jar files are.
-
Right-click on
spec and run it as a JUnit test.
-
In a Web browser, open the resulting HTML file, called something like
/tmp/concordion/edu/ucsd/cse70/ircclient/Acceptance.html.
-
Make sure your code passes the tests.
You may need to modify the test cases,
but please confer with the teaching staff before doing so.
-
Update, make sure all tests still pass, and commit before you leave.
Homework
Split up and assign the following tasks to programming pairs in your team.
Make sure to create tickets in Trac.
-
Modify the generic acceptance tests given for JOIN
so they are specific to your implementation.
-
Add an Ant target that runs your Concordion acceptance tests. Tips: