[英]New To FitNesse - How can i verify that my database query has successful run
I am using dbFit.Oracle. 我正在使用dbFit.Oracle。
I am using FitNesse to write an acceptance test making API calls. 我正在使用FitNesse编写进行API调用的验收测试。 How can I verify that my Oracle db query in the test case has run successfully?
如何验证测试案例中的Oracle数据库查询已成功运行? 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. 默认情况下,DbFit使用autocommit = false模式。 You need to set it to true
您需要将其设置为true
or explicitly run commit command using DBFIt 或使用DBFIt明确运行commit命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.