Click or drag to resize

SmartTest Class

This is the main class for SmartTests.
Inheritance Hierarchy
SystemObject
  SmartTestsSmartTest

Namespace:  SmartTests
Assembly:  SmartTests (in SmartTests.dll) Version: 1.7.0
Syntax
public static class SmartTest

The SmartTest type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberByte
Creates a new range of byte
Public propertyStatic memberDouble
Creates a new range of double
Public propertyStatic memberEnum
Creates a new range of double
Public propertyStatic memberFloat
Creates a new range of float
Public propertyStatic memberInt
Creates a new range of int
Public propertyStatic memberLong
Creates a new range of long
Public propertyStatic memberSByte
Creates a new range of sbyte
Public propertyStatic memberShort
Creates a new range of short
Public propertyStatic memberSmartAssert
The simplest way to access Smart Assertions.
Public propertyStatic memberUInt
Creates a new range of uint
Public propertyStatic memberULong
Creates a new range of ulong
Public propertyStatic memberUShort
Creates a new range of ushort
Top
Methods
  NameDescription
Public methodStatic memberCode exampleAssignT
Public methodStatic memberCode exampleCase(Criteria)
Creates an instance of Case class for a global Criteria (not specific to a parameter).
Public methodStatic memberCode exampleCase(String, Criteria)
Creates an instance of Case class for a specific parameter Criteria.
Public methodStatic memberCode exampleCaseT(ExpressionFuncT, Object, Criteria)
Creates an instance of Case class for a specific parameter patth Criteria.
Public methodStatic memberCode exampleRunTest(Case, Act, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTest(Case, ExpressionActionActContext, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTest(Case, ExpressionAction, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTest(Criteria, ExpressionActionActContext, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTest(Criteria, ExpressionAction, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTestT(Case, ActT, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTestT(Case, ExpressionFuncT, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTestT(Case, ExpressionFuncActContext, T, Assertion)
Executes the Act part of the test, and its related Smart Assertions, that involves implicit declarations for Assertions.
Public methodStatic memberCode exampleRunTestT(Criteria, ActT, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTestT(Criteria, ExpressionFuncT, Assertion)
Executes the Act part of the test and its related Smart Assertions.
Public methodStatic memberCode exampleRunTestT(Criteria, ExpressionFuncActContext, T, Assertion)
Executes the Act part of the test, and its related Smart Assertions, that involves implicit declarations for Assertions.
Top
Remarks
It is recommended to use it with using static SmartTests.SmartTest.
See Also