Slacker is a transacted RSpec-based framework for developing automated tests for SQL Server 2005-2014 programmable objects such as stored procedures, scalar/table functions, triggers, etc.
describe 'Get_Top_Customers' do
it 'ranks customers using the "Avg Weighted Days to Pay" ranking method' do
# Preload test data
# Run stored procedure Get_Top_Customers and match resultset against expected results
sql.get_top_customers(:limit => 5).should match('expected_results.csv')
Slacker's Mailing List