The product I am testing is mostly written in Java. I have to write autonomous code to compare the two outputs(one developed by our dev teams and other by me). Is it good idea to write my code as well in Java, or shall I choose some other language to write my code. Please help me with pros and cons of using same language over using different language.
Also would writing test code in same language as the application code, increase the probability of committing same bug that developer might have made ? And using different language would decrease this probability