I am quite new to Java and JUnit. We have loads of procedures in the database which we want to test, so we were thinking of the possibility of using JUnit to test them if it is feasible.
The database procs/functions which need to be tested along with the parameters, output expected will all be passed through a file. I am not sure whether this is something where JUnit would help as we are looking at getting the information from the file, run the tests for each proc and then provide an output which specifies how many had failed along with the error messages.
Based on my understanding when I read few posts and internet search, it seems that I need a separate method with @Test to test every database procedure which would mean that we need to create Java methods in advance. But the test would be to help database developers who don't have much knowledge in Java, to just specify the proc to be bested in a file and JUnit framework will take care of the rest.
Is this feasible with JUnit, any advice please?