-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
69 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
NBi.Testing/Acceptance/Resources/Positive/QueryEqualToWithParameter.nbits
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<testSuite name="Acceptance Testing: query equalTo with parameters" xmlns="http://NBi/TestSuite"> | ||
<settings> | ||
<default apply-to="system-under-test"> | ||
<connectionString>Data Source=mhknbn2kdz.database.windows.net;Initial Catalog=AdventureWorks2012;User Id=sqlfamily;password=sqlf@m1ly</connectionString> | ||
<parameter name="@CurrencyCode" sql-type="varchar">AED</parameter> | ||
</default> | ||
</settings> | ||
<test name="Test"> | ||
<system-under-test> | ||
<execution> | ||
<query> | ||
<![CDATA[SELECT COUNT(*) From [Sales].[Currency] WHERE CurrencyCode = @CurrencyCode]]> | ||
</query> | ||
</execution> | ||
</system-under-test> | ||
<assert> | ||
<equalTo> | ||
<resultSet> | ||
<row> | ||
<cell>1</cell> | ||
</row> | ||
</resultSet> | ||
</equalTo> | ||
</assert> | ||
</test> | ||
</testSuite> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters