简体   繁体   中英

New To FitNesse - How can i verify that my database query has successful run

I am using dbFit.Oracle.
I am using FitNesse to write an acceptance test making API calls. How can I verify that my Oracle db query in the test case has run successfully? I am trying to update some column in the database, but no success. Or are there any preconditions I need to take care of before running the query?

This is my query:

|update  |                   d3_account     |
|Statement_preference_type= |SOURCE_ACCOUNT_ID|
|PAPER   |                  | IDAP111112000|

By default DbFit is using autocommit=false mode. You need to set it to true

or explicitly run commit command using DBFIt

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM