-
Notifications
You must be signed in to change notification settings - Fork 12
Execute Stored Procedure before test
Jakub Raczek edited this page Feb 10, 2022
·
3 revisions
-- RUN STORED PROCEDURE
EXEC dbo.test_proc;
-- SELECT ACTUAL DATA FROM DATABASE
SELECT *
FROM
[country];
Store Procedure cannot return results set.
<cmpSqlResultsTest>
<compare mode="FILE" diffTableSize="5" chunk="1000" fileOutputOn="true">
<sql datasourceName="AZURE_SYNAPSE" filename="sql1.sql" />
<!-- separator -> CSV file separtor. Default is "," -->
<file filename="fileSource.csv" separator=";" startAtRow="1" />
</compare>
</cmpSqlResultsTest>
- Home
- Getting started
- Command line parameters
- Deploying licensed jdbc drivers
- Comparators
- Fetch
- KEY
- Minus
- NMB_OF_RESULTS
- FILE
- OLAP
- Building multilevel tests structure
- TeamCity support
- Test definitions
- Filtering tests for execution
- Test report
- Compiling, replacing tokens in connection definition
- Replacing tokens in SQL queries
- Execute Stored Procedure before test