Turning in your program and testing it.
We have attempted to set up a test framework that you can use. It should catch the most glaring errors that your program may have. You should write some test files of your own in order to make sure that your program is tested thoroughly; we reserve the right to run the same script with different input files.
You'll have to follow the instructions very carefully in order to run our script, but we think it will be worthwhile to do that.
Copying files to your turnin directory on AFS:
Use AFS Drive Mapper or Network Identity Manager or an FTP program such as
SecureFX to connect to AFS. If you FTP, the address is
afs.rose-hulman.edu. Whichever you choose, you must copy all of the.java files from your project (do NOT copy any other files) to your turnin directory on AFS,
which is
/class/cs/csse220/csse220-200810/turnin/your_user_name/Markov .
Using MultiSet:
When you run our script, the two Multiset .class files will be copied into your turnin
folder. You do not need to put them there yourself, but if you do, be aware that
they may be overwritten by our files.
Running the check script:
Open SecureCRT (or another ssh program, such as puTTY), and connect to
addiator.rose-hulman.edu. Type (everything is case-sensitive)
cd /class/cs/csse220/csse220-200810
to navigate to the class folder.
Note that you can often type part of a folder/file name and press the TAB key to
let the LINUX shell complete the name for you.Then the commands
./check MarkovPart1
and
./check Markov
will run the test scripts. (For Milestone 1, it is only necessary to run the part 1
test. To view your results, go to your results folder: cd turnin/your_user_name/Markov/Results
and type
cat compile-errors
followed by
cat grading-report
to view your report. Alternatively you can open these files with any text
editor through SecureFX.
If you have any questions, post to the Markov discussion forum in our ANGEL course,
or e-mail me or a course assistant.