Ability to "record" unit tests?

MckMurrayMckMurray Posts: 37 Bronze 3
edited November 20, 2015 10:37AM in SQL Test
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?

Comments

Sign In or Register to comment.