Namespace CMS.Tests
Classes
- AppStateReset
Provides support for reset of application state
- AppStateReset.FieldState
Container for holding the specific field state
- AutomatedTests
Base class for advanced tests
- AutomatedTestsWithData
Base class for automated tests with data support
- AutomatedTestsWithLocalDB
Allows integration tests to run in isolation as for each test a clean database with current schema and default objects is created.
- CMSAssert
Custom assertions
- Category
Class containing specific category attributes
- Category.AutomatedAttribute
Automated test category
- Category.IntegrationAttribute
Integration test category
- Category.IsolatedIntegrationAttribute
Isolated integration test category
- Category.LongRunningAttribute
Long-running test category
- Category.UnitAttribute
Unit test category
- ConstraintResultWithCustomMessage
Constraint with additional fialure message
- ContainerNotBuiltUnitTests
Base class for unit tests in which the IoC container contains collected services but is not built.
- EmbeddedResourceNotFoundException
Exception thrown where it is not possible to find or extract an embedded resource.
- EmbeddedResourceReader
Reads content of an embedded resource which name is provided in the way of relative path within provided assembly (project).
- EmbeddedResourceReader<TAnySourceAssemblyType>
Reads content of an embedded resource which name is provided in the way of relative path within executing assembly (project).
- ExtraDatabaseAttribute
Provides an extra database within the given test The extra database can be use by a block of code using method ExecuteWithExtraDatabase You can alternatively use method EnsureExtraDatabase(string, bool) to initialize an extra database on-the-fly
- FakeClassStructureInfo
Class structure info for testing purposes
- FakeClassStructureInfo<T>
Class structure info for testing purposes
- FakeMethods
Class providing methods for faking the data
- IncludeAssemblyAttribute
Includes the given assembly to the test. Use this attribute for assemblies that are referenced by project but not used in the code, so they are included into assembly discovery.
- InfoFakeSettings
Info fake settings
- IntegrationTests
Base class for integration tests
- IsolatedIntegrationTests
Allows integration tests to run in isolation as for each test a clean database with current schema and default objects is created.
- JSONConstraint
Constraint that compares two JSON sources with each other.
- MacroAssert
Custom macro assertions
- Priority
Class containing priority attributes.
- Priority.CriticalAttribute
Critical priority test category.
- Priority.MajorAttribute
Major priority test category.
- Priority.MinorAttribute
Minor priority test category.
- Priority.NormalAttribute
Normal priority test category.
- RelatedBugAttribute
Indicates that test was created due to bug fix.
- SharedDatabaseForAllTestsAttribute
Indicates that database is shared for all isolated integration tests that are in same class. (ie. Database is created before first test run and it is deleted after last test run)
- ShortGuid
Represents a globally unique identifier (GUID) with a shorter string representation.
- TestExtender
Base class for test extenders
- TestExtender<TParentTest>
Generic base class for test extender
- TestsAssemblyDiscoveryHelper
Allows usage of more strict assembly discovery.
- TestsConfig
Shared tests configuration
- UnitTestExtensions
Extension methods for tests
- UnitTests
Base class for unit tests.
Interfaces
- IDatabaseQueryChecker
Common interface for checking database calls.
- IFake
Interface for the fakes
- IFakeMethods
Interface for attaching methods for faking data within automated tests
- IInfoFake<TInfo>
Interface for automated tests fake of the info
- IInfoProviderFake<TInfo, TProvider>
Interface for automated tests fake of the info provider