Příspěvky

Zobrazují se příspěvky z květen, 2022

Fitnesse and DbFit

DbFit for Data Preparation and Testing in Fitnesse The test automation using Fitnesse is huge popular for integration testing. It is highly demanded to populate the relational database by test data and during the tests. The Fitnesse often checks the data in application tables also.   I use the quite handy tool DbFit ( DbFit: Test-driven database development ) that extends the Fitnesse with simple and readable fixtures to deal with relational databases. It contains a set of commands that you usually use against the databases - Query, Insert, Execute, Execute procedure, Execute DDL. It allows to control the transactions usin Commit or Rollbak. The DbFit rollback the data after the test by default. I've trouble to connect to Oracle 12 using the latest stable DbFit version 3.2.0, because this version of DbFit does not support the newest Oracle Jdbc Drivers. The DbFit cannot initialize the JDBC driver: dbfit.OracleTest java.lang.Error: java.lang.reflect.InvocationTargetException a...