PostgresTestException
Namespace: Ankus.Testing
Assembly: Ankus.Testing.dll
Reports a backend test failure together with its PostgreSQL session log and original exception.
public sealed class PostgresTestException : Exception, ISerializableInitializes a failure for a named PostgreSQL test session.
Inheritance: object, Exception
Implements: ISerializable
Constructors
Section titled “Constructors”PostgresTestException(string, string, Exception)
Section titled “PostgresTestException(string, string, Exception)”Reports a backend test failure together with its PostgreSQL session log and original exception.
public PostgresTestException(string testName, string serverLog, Exception innerException)Parameters:
testName — string
The name of the failed test.
serverLog — string
The log emitted by the test’s backend session.
innerException — Exception
The original test or database exception.
Initializes a failure for a named PostgreSQL test session.
Properties
Section titled “Properties”ServerLog
Section titled “ServerLog”Gets the server log associated with this test session.
public string ServerLog { get; }Value: string
TestName
Section titled “TestName”Gets the name of the failed test.
public string TestName { get; }Value: string