Add SSMS Right Click Option to Create Tests
adam_hafner
Posts: 88 Silver 2
in SQL Test
Add the ability to create a new test class by right clicking on an object in the Object Explorer in SSMS. By right clicking there would be an option added in the context menu that would say `Create Test <testPrefix><objectName>..` where `testPrefix` is a configurable option within SQL Test that allows users to specify their preferred test class prefix. By default it would just be the word `test`. When you click on the new option it would bring up the `New Test` dialog box from SQL Test and the `Database` would be populated with correct database for the object that was right clicked. The `Test Class` would be defaulted to `<testPrefix><objectName>`. The `Test Name` field would be defaulted to blank.