用于SQL的VisualStudio单元测试框架 [英] VisualStudio Unit test framework for SQL
问题描述
您好,
我是SQL的Visual Studio单元测试框架的新手,我想为我的SQL存储过程编写单元测试用例。
我知道在VS for SQL过程中很容易编写单元测试并验证输出但我的问题是如何测试内部逻辑(IF的/ where子句,内部查询结果,临时表等) ..)我的SQL过程。有没有办法做到这一点?
Venkat Kundavaram
你好,
'学术活动 - 技术查询'论坛是关于相关的帖子与微软的学术计划有关的技术/编码/编程相关问题。
由于这是偏离主题的,我正在将问题转移到
Visual Studio单元测试论坛。
卡尔
Hello,
I'm new to visual studio unit test framework for SQL and I would like to write unit test cases for my SQL stored procedure.
I know its easy to write unit test in VS for SQL procedure and validate the output but my question is how can I test the inside logic (IF's / where clauses, inner query results , temp tables etc..) of my SQL procedure. Is there any way to do this?
Venkat Kundavaram
Hello,
The 'Academic Initiatives - Technical Queries' forum is for posts Related to technical / coding / programming related issues as related to Microsoft's Academic Initiatives.
As it's off-topic here, I am moving the question to the Visual Studio Unit Testing forum on MSDN.
Karl
这篇关于用于SQL的VisualStudio单元测试框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!