Generation of Test Cases
<p>I need to generate the test cases using white box testing..
I would like to share my idea of what we are doing and would also like you to give suggestions on it, if any, if we are going wrong.
As Netbeans and eclipse are having their own editors for writing java programs n then compile and generate test cases for the same..
But our aim is to create the application that accepts i.e reads java program written anywherei.e like notepad,command prompt i.e stored anywhere but should be .java file to be read by our application and our application should on reading the .java file should be directly able to generate the test cases for it.</p>

<p>What we have done is created some grammars for control statements i.e., for,if,switch,etc, have parsed the java file into tokens,and we are now in a process to create the symbol table to retrieve the symbols from user's java file consisting of symbol name,its length,value,data type.But we are stuck here..
Its getting difficult to retrieve symbols,its value and data type from java file..</p>

<p>Everything is coded in java,and no tool is used.Please provide some solution.</p>
