SqlDatabaseTestClass.TestContext Propriedade
Obtém ou define o contexto do teste que é usado pela infraestrutura do teste.
Namespace: Microsoft.Data.Tools.Schema.Sql.UnitTesting
Assembly: Microsoft.Data.Tools.Schema.Sql.UnitTesting (em Microsoft.Data.Tools.Schema.Sql.UnitTesting.dll)
Sintaxe
[BrowsableAttribute(false)]
public TestContext TestContext { get; set; }
public:
[BrowsableAttribute(false)]
property TestContext^ TestContext {
TestContext^ get();
void set(TestContext^ value);
}
[<BrowsableAttribute(false)>]
member TestContext : TestContext with get, set
<BrowsableAttribute(False)>
Public Property TestContext As TestContext
Valor de propriedade
Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestContext
Um objeto TestContext.
Comentários
O contexto do teste é definido pela infraestrutura de teste para oferecer a cada teste executado acesso ao contexto no qual se executa o teste.O contexto também é disponibilizado durante a inicialização e a limpeza do teste.
Consulte também
Classe SqlDatabaseTestClass
Namespace Microsoft.Data.Tools.Schema.Sql.UnitTesting
Retornar ao topo