Thursday, April 23, 2009
STARS Banquet
Wednesday, March 11, 2009
Readings & Poster
Friday, January 30, 2009
Functionality of Driver
Referring to the sample code Suresh sent me...
static testDriver(){
sequence generation;
}
One of my supposed testMethods...
testAdd(){
testDriver()
conduct testing operations & report differences
}
My question pertains to simply calling the testDriver method in each testMethod in order to generate the sequences, as opposed to reproducing the same code found in the testDriver in each and every test method.
Friday, January 9, 2009
iTutor Approach & Other Ideas
I have also picked up the Pragmatic Thinking & Learning text Dr. Xie put on the shelf last week. I shall begin reading this weekend, as I wait for a response.
Saturday, December 27, 2008
iTutor: Method Sequences/Declarations
I met with Dr. Xie to discuss my progress on the project. We decided that I should begin writing the "examples" section on the paper as a means to confirm the correctness of my possible implementation. As such, I will create examples and what I expect their output to look like. As far as parameters that each method may require go, Dr. Xie suggested declaring methods after analyzing its contents. For now, I will write the paper and submit my writing to Kunal and Suresh for verification.
iTutor: passing of parameters
Posted on Wednesday December 03, 2008 by Bellanov Apilli
While continuing on the test driver and implementing each method's respective switch statement, the problem I've come across relates to the passing of parameters. Take the following case:
case 1:{
addItem(item);
break;
}
It simply invokes the addItem method, sending the parameter "item". As you've instructed, this parameter should go in the method declaration, which brought about another question.
In my mind, the proposed method declaration would be as follows:
addItem(int a, int item1, int item2, int item3, ... )
iTutor - Next Steps - Sequence Generation
Kunal has recently showed me how the method sequences will be generated using a switch statement. As I've come to find yet again, the passing of parameters makes things more complex. My question pertains to whether or not JCute can work with variables declared locally in each test driver method.
For instance, take into account that this is the testAddItem method.
void testAddItem(int a)
case 1: {
int item = 0;
stObj.add(item);
taObj.add(item);
break;
}
I initially have a parameter coming in (int a) but am unsure as to whether or not it is useful anymore. My question still lies in whether or not I can declare parameters I may need within each case block, as opposed to sending them all to the method declaration (where (int a) is).
Other than the above, I am beginning to see how this will come in altogether and will try to complete the test driver over the upcoming break.