简体   繁体   English

FitNesse的新功能-如何验证数据库查询已成功运行

[英]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.

相关问题 有人进行过FitNesse TEST,可以查询REAL数据库吗? 我无法使Fitnesse成功连接 - Has anyone done a FitNesse TEST that queries to REAL Database? I can't make Fitnesse connect successfully 我无法将固定装置导入我的fitnesse页面 - I can't import fixture into my fitnesse page 在FitNesse中,我如何只为一个套件运行套件设置代码? - In FitNesse how can I run suite setup code for one suite only? 我需要同时从命令行运行多个Fitnesse测试。 如何避开端口限制? - I need to run multiple Fitnesse Tests from the command line at the same time. How can I get around the Port resrtriction? 如何使用FitNesse / SLIM验证表中的数据? - How to verify data in table using FitNesse/SLIM? 如何在“测试驱动开发”中为HTML输出编写适应性代码? - How can I write a fitnesse for a HTML output in Test Driven Development? 如何在Fitnesse中动态添加下拉菜单? - How can I add a drop down menu dynamically in the Fitnesse? 如何使用Fitnesse在循环中运行场景 - How to run a scenario in a loop with Fitnesse 我如何在Java中为Fitnesse Fixture传递程序参数? - how do i pass program arguments in java for my Fitnesse Fixture? 在 Fitnesse 中,当我尝试运行测试时出现错误,但我的同事能够毫无问题地在相同的脚本上运行测试 - In Fitnesse I am getting an error when I try to run tests but my coworkers are able to run tests on the same scripts with no problem
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM