Kinetica   C#   API  Version 7.2.3.1
Kinetica.Tests.Common.TestContext Class Reference

Test context that manages schema and cleanup for integration tests. More...

Inherits IDisposable.

Public Member Functions

 TestContext (string testName)
 Create a new test context with an isolated schema. More...
 
string QualifiedTable (string tableName)
 Get a qualified table name (schema.table). More...
 
void Cleanup ()
 Cleanup - drop the test schema. More...
 
void Dispose ()
 

Static Public Attributes

static string url
 Get connection configuration from environment variables. More...
 

Properties

kinetica.Kinetica Kinetica [get]
 
string SchemaName [get]
 

Detailed Description

Test context that manages schema and cleanup for integration tests.

This mirrors the Rust TestContext implementation.

Definition at line 11 of file TestContext.cs.

Constructor & Destructor Documentation

◆ TestContext()

Kinetica.Tests.Common.TestContext.TestContext ( string  testName)
inline

Create a new test context with an isolated schema.

Parameters
testNameName of the test (used for schema naming)

Definition at line 34 of file TestContext.cs.

Member Function Documentation

◆ Cleanup()

void Kinetica.Tests.Common.TestContext.Cleanup ( )
inline

Cleanup - drop the test schema.

Definition at line 82 of file TestContext.cs.

◆ Dispose()

void Kinetica.Tests.Common.TestContext.Dispose ( )
inline

Definition at line 92 of file TestContext.cs.

◆ QualifiedTable()

string Kinetica.Tests.Common.TestContext.QualifiedTable ( string  tableName)
inline

Get a qualified table name (schema.table).

Definition at line 74 of file TestContext.cs.

Member Data Documentation

◆ url

string Kinetica.Tests.Common.TestContext.url
static

Get connection configuration from environment variables.

Definition at line 21 of file TestContext.cs.

Property Documentation

◆ Kinetica

kinetica.Kinetica Kinetica.Tests.Common.TestContext.Kinetica
get

Definition at line 13 of file TestContext.cs.

◆ SchemaName

string Kinetica.Tests.Common.TestContext.SchemaName
get

Definition at line 14 of file TestContext.cs.


The documentation for this class was generated from the following file: