How can we help you today? How can we help you today?

Ability to "record" unit tests?

I've been looking around for a product that can "record" and script out a tSQLt test.
But i have not even found a mention of anything like what I'm looking for.

Basically, I imagine building a query and pressing "record test". It would run the query, analyse the outputs and result sets, and then create a tSQLt test which assumes you will get the exact same result every time you run with the same parameters. Of course this assumes the query is deterministic which is not always the case, but it would be a great starting point and also a learning tool for those starting out with tSQLt.

It would be perfect for refactoring code.

How about adding something like this to SQL Test?
MckMurray
0

Comments

2 comments

Add comment

Please sign in to leave a comment.