This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| USE [master] | |
| GO | |
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| if exists (select * from sysobjects where id = object_id(N'[dbo].[sp_FindSynonym]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) | |
| drop procedure [dbo].[sp_FindSynonym] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tfpt unshelve "my selveset 1;username" /migrate /nobackup /source:$/server/folder1 /target:$/server/folder2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [TestMethod] | |
| public void $Assertion$() | |
| { | |
| Assert.Inconclusive("Not yet implmemented.");$END$ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [TestClass] | |
| public class $Scenario$ : $BaseContext$ | |
| { | |
| [TestMethod] | |
| public void $Assertion$() | |
| { | |
| Assert.Inconclusive("Test not yet implemented.");$END$ | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace $NAMESPACE$ | |
| { | |
| /// <summary> | |
| /// Base class for BDD-style tests. | |
| /// </summary> | |
| /// <remarks> | |
| /// Taken from: http://blogs.msdn.com/b/elee/archive/2009/01/20/bdd-with-mstest.aspx | |
| /// See also: http://dannorth.net/introducing-bdd/ | |
| /// </remarks> | |
| public abstract class ContextSpecification |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace $NAMESPACE$ | |
| { | |
| public static class $SUT$Tests | |
| { | |
| public class $SUT$Context : ContextSpecification | |
| { | |
| protected $SUT$ Sut; | |
| protected override void Context() | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET ANSI_NULLS ON | |
| GO | |
| SET QUOTED_IDENTIFIER ON | |
| GO | |
| CREATE PROCEDURE [dbo].[sp_export_Objects] | |
| AS | |
| BEGIN | |
| SET NOCOUNT ON | |
| CREATE TABLE #ObjectHierarchy | |
| ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use master | |
| go | |
| if exists (select * from sysobjects where id = object_id(N'[dbo].[sp_FindColumn]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) | |
| drop procedure [dbo].[sp_FindColumn] | |
| GO | |
| Create Procedure dbo.sp_FindColumn | |
| @Column varchar(max) | |
| AS |
NewerOlder