Tuesday, October 22, 2013

Step-By-Step

We had another team meeting yesterday.  Not everyone was on the same page about what needed to be done, so we wrote down step-by-step what we needed to accomplish.

This is our general understanding:

Script:
#1 Script will count # of folders in test case directory
#2 For each folder, count the number of text files in that folder
#3 Open each text file and (store as a variable) each line in the text file
#4 Script needs to take second variable (method) send to driver

TestCase.txt:
#1 Driver
#2 Method
#3 Input
#4 Oracle
#5 Output
#6 Requirement
#7 Class Path

Take variable #1 and run javac#1#7 (compiled)
java#1#2#3 (takes number #2 and #3 as arguments)

main{
string methodName = args[0];
int input = args[1];

Script then needs to pipe output to a file that script specifies (output.txt)

Script compares output.txt and oracle.txt

No comments:

Post a Comment