Hi Christian,
DbFit (intentionally) uses transaction in flow mode and rolls back a
transaction at the end if you don't commit. This is to make tests
repeatable and runnable in parallel. You have two options: commit from
the test and clean up yourself ( just put |commit| in a single line
before your fixture) or use dbfit in standalone mode, where you define
the transaction scope and can pass on the tx scope to your fixtures as
well.
gojko
--
You received this message because you are subscribed to the Google Groups "dbfit" group.
To post to this group, send email to db...@googlegroups.com.
To unsubscribe from this group, send email to dbfit+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dbfit?hl=en.
Hi all,I'm trying to connect to the SQLServer 2005 but getting an error;Error:could not find fixture:ConnectMy code:!5 TC: TestCase_DC01
!5 Initialization
!path ${fitnesse_path}
!path ${fitnesse_path_db_fit}
!|import fixture|
|dbfit.fixture|
!5 Connect to Database
!|DatabaseEnvironment|SQLSERVER|
!|Connect|localhost|aqroy|Aimhealth4|AIMDBQA02|
!5 Validate for AppName as ClaimForm in dbo.AppMst table
!|Query|Select AppName from AIMEE.dbo.AppMst where AppMstGUID = 'BF40E368-414A-40E4-B49F-6DCA71635D4D'|
|ClaimForm|
|AppName|
could anyone help me on the same?.
Thanks,
Antony
Hi all,I'm trying to connect to the SQLServer 2005 but getting an error;Error:could not find fixture:ConnectMy code:!5 TC: TestCase_DC01
!5 Initialization
!path ${fitnesse_path}
!path ${fitnesse_path_db_fit}
!|import fixture|
|dbfit.fixture|
!5 Connect to Database
!|DatabaseEnvironment|SQLSERVER|
!|Connect|localhost|aqroy|Aimhealth4|AIMDBQA02|
!5 Validate for AppName as ClaimForm in dbo.AppMst table
!|Query|Select AppName from AIMEE.dbo.AppMst where AppMstGUID = 'BF40E368-414A-40E4-B49F-6DCA71635D4D'|
|ClaimForm|
|AppName|
could anyone help me on the same?.
Thanks,
Antony
On Monday, June 27, 2011 7:49:18 PM UTC+5:30, Christian Baumann wrote:
Hi all,I'm trying to connect to the SQLServer 2005 but getting an error;Error:could not find fixture:ConnectMy code:!5 TC: TestCase_DC01
!5 Initialization
!path ${fitnesse_path}
!path ${fitnesse_path_db_fit}
!|import fixture|
|dbfit.fixture|
!5 Connect to Database
!|DatabaseEnvironment|SQLSERVER|
!|Connect|localhost|aqroy|Aimhealth4|AIMDBQA02|
!5 Validate for AppName as ClaimForm in dbo.AppMst table
!|Query|Select AppName from AIMEE.dbo.AppMst where AppMstGUID = 'BF40E368-414A-40E4-B49F-6DCA71635D4D'|
|ClaimForm|
|AppName|
could anyone help me on the same?.
Thanks,
Antony
On Monday, June 27, 2011 7:49:18 PM UTC+5:30, Christian Baumann wrote:
Hi all,I'm trying to connect to the SQLServer 2005 but getting an error;Error:could not find fixture:ConnectMy code:!5 TC: TestCase_DC01
!5 Initialization
!path ${fitnesse_path}
!path ${fitnesse_path_db_fit}
!|import fixture|
|dbfit.fixture|
!5 Connect to Database
!|DatabaseEnvironment|SQLSERVER|
!|Connect|localhost|aqroy|Aimhealth4|AIMDBQA02|
!5 Validate for AppName as ClaimForm in dbo.AppMst table
!|Query|Select AppName from AIMEE.dbo.AppMst where AppMstGUID = 'BF40E368-414A-40E4-B49F-6DCA71635D4D'|
|ClaimForm|
|AppName|
could anyone help me on the same?.
Thanks,
Antony
On Monday, June 27, 2011 7:49:18 PM UTC+5:30, Christian Baumann wrote: