Using dbfix in an existing fixture does not work

22 views
Skip to first unread message

yagl...@gmail.com

unread,
Oct 18, 2016, 6:49:48 AM10/18/16
to dbfit
Hi,

Could anyone support me on this, currently I am using dbfix for my existing fixture. The goals is to make a call do the database and fetch and insert some data.

The only thing what I have done is;

1. Add the dependency in the POM.xml


<dependency>

    <groupId>com.github.dbfit</groupId>

    <artifactId>dbfit</artifactId>

    <version>3.2.0</version>

</dependency>


The test is:

!| TestFixture                                              |
|dbfit.OracleTest                                                 |
|Connect|otacl302-scan.oracle.test.nl|owner_test|Test1234!|dbfit|
|query  |select*from dbo.Employes                                 |
|debug  |                                                         |


The error which I got is:


java.lang.IllegalArgumentException: No enum constant nl.test.onb.vcm.fitnesse.command.TestExecutor.Action.DBFIT.ORACLETEST
 at java.lang.Enum.valueOf(Enum.java:238)
 at nl.*bank.onb.vct.fitnesse.command.TestShieldExecutor$Action.valueOf(TestShieldExecutor.java:554)
 at nl.*bank.onb.vct.fitnesse.command.TestShieldExecutor.executeCell(TestShieldExecutor.java:73)
 at nl.*bank.onb.vct.fitnesse.command.AbstractFixture.doCells(AbstractFixture.java:27)
 at fit.Fixture.doRow(Fixture.java:168)
 at fit.Fixture.doRows(Fixture.java:162)
 at fit.Fixture.doTable(Fixture.java:156)
 at fit.Fixture.interpretTables(Fixture.java:101)
 at fit.Fixture.doTables(Fixture.java:81)
 at fit.FitServer.process(FitServer.java:81)
 at fit.FitServer.run(FitServer.java:56)
 at fit.FitServer.main(FitServer.java:41) 

Mark Matten

unread,
Oct 19, 2016, 3:40:37 PM10/19/16
to dbfit
It's difficult to work out what you're actually trying to do here. Can you take us through it from the top down?


On Tuesday, 18 October 2016 11:49:48 UTC+1, yagl...@gmail.com wrote:
> Hi,
>
>
> Could anyone support me on this, currently I am using dbfix for my existing fixture. The goals is to make a call do the database and fetch and insert some data.
>
>
> The only thing what I have done is;
> d
Reply all
Reply to author
Forward
0 new messages