I have written a java class that includes methods which pass queries to a Oracle Database and return results. Now I need to write unit tests for each function. For that I need to temporary start a Oracle DB instance, feed sample data, do database operations and drop instance at the end of the test. Is there a particular way/ framework to do this for oracle databases? I saw some are using in memory databases like H2 for this task but I doubt that they will support to Oracle queries.
Aucun commentaire:
Enregistrer un commentaire