Support Test Setup in SQL Test
The tSQLt framework allows for the existence of a test procedure named Setup
within a test class that can be used to create data once instead in each of the individual tests. However, in SQL test if you create a test named Setup
it makes the test name be test Setup
which isn't what is needed. You can see the documentation of the Setup
in the following documentation for tSQLt:
https://tsqlt.org/130/creating-and-running-test-cases-in-tsqlt/
Can you make it so that if the test name specified is Setup
or setup
(or any case variation thereof) that it will not prepend the word test
to the new test name. When the test is created it should be displayed in the UI, but not executed when you run the test via the UI because the framework executes the procedure. This is because Setup is not a test, it is a component of all the tests in that class, so it should not be explicitly executed by SQL Test but needs to be visible in the UI so that developers know that it exists as part of the tests.