I am planning to store the
test data in a file and make a program to read it because i have lot of different test data to input.
and would use StringTokenizer for that and use TAB (\t) as a delimiter or separator for columns .
My question is :
1.Would
TestNg support that kind (i am new to TestNG) of development?
2.Also my test data is going to include lot of sourcecode and marked up source code with HTML tags as expected and real output.
It would include \t \t all kind of whitespaces.I am kind of worried if
Java would messup with \n\t or its going tobe complex using sourcedoe and markups in this format for file.
I am not sure about using XML format for input file too.
Any suggestions would also be appreciated.
like
Language Source Expectedouput
Java Class Test{\n} <span class='k'>Class</span> Test{\n}
XML <Address><city> ......