This section documents the Gallio and MbUnit v3 API.

Namespaces

NamespaceDescription
Gallio.Ambience
The Gallio.Ambience namespace provides a lightweight object database based on db4o for storing test data across test runs.
Gallio.Common
The Gallio.Common namespace contains common data types and utilities.
Gallio.Common.Caching
The Gallio.Common.Caching namespace contains types related to caching.
Gallio.Common.Collections
The Gallio.Common.Collections namespace contains specialized collection types and collection utilities.
Gallio.Common.Concurrency
The Gallio.Common.Concurrency namespace contains types for synchronizing access to resources and managing threads and processes.
Gallio.Common.Diagnostics
The Gallio.Common.Diagnostics namespace contains types for reporting failure diagnostics including a stack trace filtering mechanism.
Gallio.Common.IO
The Gallio.Common.IO namespace contains utilities and a test-friendly facade for common input/output operations.
Gallio.Common.Linq
The Gallio.Common.Linq namespace contains types for manipulating Linq expressions.
Gallio.Common.Markup
The Gallio.Common.Markup namespace provides a structured text format consisting of documents which may have multiple streams of text each of which may be subdivided into sections of text with optional style markers.
Gallio.Common.Markup.Tags
The Gallio.Common.Markup.Tags namespace defines the tags used by the markup document format to encode structured documents in Xml.
Gallio.Common.Mathematics
The Gallio.Common.Math namespace provides advanced mathematical functions and helper classes not found in Math.
Gallio.Common.Media
The Gallio.Common.Media namespace provides types for capturing screenshots and encoding video content.
Gallio.Common.Messaging
The Gallio.Common.Messaging namespace provides an abstraction for sending messages between components.
Gallio.Common.Normalization
The Gallio.Common.Normalization namespace provides a simple abstraction for normalizing objects.
Gallio.Common.Platform
The Gallio.Common.Platform namespace provides utilities for detecting native platform parameters such as the .Net runtime and framework version and the bitness of the currently executing process.
Gallio.Common.Policies
The Gallio.Common.Policy namespace defines common procedures for reporting unhandled exceptions, processing events safely, and accessing user and machine local application data.
Gallio.Common.Reflection
The Gallio.Common.Reflection namespace defines an abstract reflection Api similar to System.Reflection but intended to enable reflection of .Net code assets that are not loaded as executable assemblies. The reflection Api provides several capabilities not present in System.Reflection including the ability to obtain source file and line number information as well as Xml documentation comments. This namespace includes a wrapper for standard .Net reflection and for a file-based reflection policy based on Mono.Cecil.
Gallio.Common.Reflection.Impl
The Gallio.Common.Reflection.Impl namespace provides internal reflection services for reflection policy implementors and includes a framework for implementing new reflection policies as subclasses of the StaticReflectionPolicy class.
Gallio.Common.Remoting
The Gallio.Common.Remoting namespace contains types for managing .Net remoting channels.
Gallio.Common.Security
 
Gallio.Common.Splash
 
Gallio.Common.Text
The Gallio.Common.Text namespace contains types for managing text ranges, computing differences between strings, and regular expressions.
Gallio.Common.Text.RegularExpression
The Gallio.Common.Text.RegularExpression namespace contains a lightweight regular expression parser RegexLite which supports a subset of the .Net regular expression features. The parser is used in particular by MbUnit to generate random strings based on a given pattern.
Gallio.Common.Time
The Gallio.Common.Time namespace contains various types to ease absolute and relative time management.
Gallio.Common.Validation
The Gallio.Common.Validation namespace provides a simple data validation framework intended to be used to verify the integrity of data that has been deserialized from Xml or other sources that lack strong built-in integrity constraints.
Gallio.Common.Xml
The Gallio.Common.Xml2 namespace contains types for manipulating Xml.
Gallio.Common.Xml.Diffing
 
Gallio.Common.Xml.Paths
 
Gallio.Framework
The Gallio.Framework namespace provides data types and services for test writers and framework implementors.
Gallio.Framework.Assertions
The Gallio.Framework.Assertions namespace provides a framework for reporting assertion failures.
Gallio.Framework.Data
The Gallio.Framework.Data namespace provides a framework for manipulating data from multiple data sources and performing data binding.
Gallio.Framework.Data.Generation
The Gallio.Framework.Data.Generation namespace provides a framework for generating data based on a specification.
Gallio.Framework.Pattern
The Gallio.Framework.Pattern namespace provides the Pattern Test Framework which can serve as the foundation for building new test frameworks.
Gallio.Framework.Utilities
The Gallio.Framework.Utilities namespace provides utilities for framework implementors.
Gallio.Model
The Gallio.Model namespace contains types that describe the test object model.
Gallio.Model.Commands
The Gallio.Model.Commands namespace provides an optional abstraction for decomposing a TestModel into a tree of ITestCommands sorted according to test dependencies and order constraints.
Gallio.Model.Contexts
The Gallio.Model.Contexts namespace provides an optional abstraction for associating a ITestContext with a thread which can then be used to track the current test and to publish test messages to a IMessageSink.
Gallio.Model.Environments
The Gallio.Model.Environments namespace provides an optional abstraction for configuring the local test environment during test exploration and execution.
Gallio.Model.Filters
The Gallio.Model.Filters namespace provides a syntax for filtering tests based on their properties.
Gallio.Model.Helpers
The Gallio.Model.Helpers namespace provides a suite of optional abstractions to help implement test drivers.
Gallio.Model.Isolation
The Gallio.Model.Isolation namespace provides a means for running test code within an isolated environment.
Gallio.Model.Isolation.Messages
 
Gallio.Model.Messages
The Gallio.Model.Messages namespace contains the messaging infrastructure for test exploration and execution.
Gallio.Model.Messages.Execution
 
Gallio.Model.Messages.Exploration
 
Gallio.Model.Messages.Logging
 
Gallio.Model.Schema
The Gallio.Model.Schema namespace contains serializable types that are used to describe tests for communication and persistence.
Gallio.Model.Tree
 
Gallio.MSBuildTasks
The Gallio.MSBuildTasks namespace contains MSBuild tasks for Gallio.
Gallio.NAntTasks
The Gallio.NAntTasks namespace contains NAnt tasks for Gallio.
Gallio.PowerShellCommands
The Gallio.PowerShellCommands namespace contains Powershell cmdlets for Gallio.
Gallio.Reports
The Gallio.Reports namespace provides report formatters for common Gallio test report types.
Gallio.Reports.Vtl
The Gallio.Reports.Vtl namespace provides helper classes for the VTL template engine.
Gallio.Runner
The Gallio.Runner namespace provides the test runner infrastructure.
Gallio.Runner.Events
The Gallio.Runner.Events namespace contains event types that are used by the test runner.
Gallio.Runner.Extensions
The Gallio.Runner.Extensions namespace provides a lightweight test runner extension mechanism whereby custom extension types can be registered with the test runner to intercept events and generate diagnostic output.
Gallio.Runner.Projects
The Gallio.Runner.Projects namespace contains types for managing Gallio project files.
Gallio.Runner.Projects.Schema
The Gallio.Runner.Projects.Schema namespace contains the project Xml schema.
Gallio.Runner.Reports
The Gallio.Runner.Reports namespace contains types for reading, writing and formatting test reports.
Gallio.Runner.Reports.Preferences
 
Gallio.Runner.Reports.Schema
The Gallio.Runner.Reports.Schema namespace contains the report Xml schema.
Gallio.Runtime
The Gallio.Runtime namespace contains types that define the component model, extensibility mechanism and core services used throughout the Gallio infrastructure.
Gallio.Runtime.ConsoleSupport
The Gallio.Runtime.ConsoleSupport namespace contains a command-line argument parsing Api and a rich console abstraction.
Gallio.Runtime.Conversions
The Gallio.Runtime.Conversions namespace contains types for converting values from one type to another based on extensible conversion rules.
Gallio.Runtime.Debugging
The Gallio.Runtime.Debugging namespace contains types for interacting with the debugger.
Gallio.Runtime.Extensibility
The Gallio.Runtime.Extensibility namespace contains types for managing a registry of plugins, services and components. The registry functions as a lightweight inversion of control container for Gallio extensions.
Gallio.Runtime.Extensibility.Schema
The Gallio.Runtime.Extensibility.Schema namespace contains the plugin Xml schema.
Gallio.Runtime.FileTypes
The Gallio.Runtime.FileTypes namespace contains types for automatically determining the types of files based on extensible file type recognizer rules.
Gallio.Runtime.Formatting
The Gallio.Runtime.Formatting namespace contains types for formatting values as human-readable strings based on extensible formatting rules.
Gallio.Runtime.Hosting
The Gallio.Runtime.Hosting namespace contains types for hosting application code in isolated AppDomains and out of process.
Gallio.Runtime.Installer
The Gallio.Runtime.Installer namespace contains types for installing Gallio components.
Gallio.Runtime.Loader
The Gallio.Runtime.Loader namespace contains types for loading the Gallio runtime into applications.
Gallio.Runtime.Logging
The Gallio.Runtime.Logging namespace contains types for logging diagnostic output.
Gallio.Runtime.Preferences
The Gallio.Runtime.Preferences namespace contains types for loading and saving user preferences.
Gallio.Runtime.Preferences.Schema
The Gallio.Runtime.Preferences.Schema namespace contains the preference store Xml schema.
Gallio.Runtime.ProgressMonitoring
The Gallio.Runtime.ProgressMonitoring namespace contains types for reporting progress from long-running operations.
Gallio.Runtime.Security
The Gallio.Runtime.Security namespace contains types for managing permissions and performing privilege elevation on demand.
Gallio.Runtime.UtilityCommands
The Gallio.Runtime.UtilityCommands namespace contains types for defining an extensible set of utility commands that can be invoked from the Gallio.Utility.exe application.
Gallio.UI.Common.Policies
 
Gallio.UI.Common.Synchronization
 
Gallio.UI.ControlPanel
The Gallio.UI.ControlPanel namespace contains types for using and extending the Gallio Control Panel UI.
Gallio.UI.ControlPanel.Plugins
The Gallio.UI.ControlPanel.Plugins namespace contains types for a standard Control Panel extension that displays installed plugins.
Gallio.UI.ControlPanel.Preferences
The Gallio.UI.ControlPanel namespace contains types for using and extending the Preference Tab of the Gallio Control Panel UI.
Gallio.UI.Controls
The Gallio.UI.Controls namespace contains types for reusable Windows Forms custom controls.
Gallio.UI.DataBinding
 
Gallio.UI.ErrorReporting
 
Gallio.UI.Events
 
Gallio.UI.Menus
 
Gallio.UI.ProgressMonitoring
 
Gallio.UI.Reports
The Gallio.UI.Reports namespace contains types for formatting reports for display in a Windows Forms UI.
Gallio.UI.Reports.Preferences
The Gallio.UI.Reports.Preferences namespace contains types for managing user preferences about test reporting.
Gallio.UI.Tree.NodeControls
 
Gallio.UI.Tree.Nodes
 
MbUnit.Core
The MbUnit.Core namespace contains types used internally by MbUnit.
MbUnit.Framework
The MbUnit.Framework namespace provides the MbUnit Test Framework, an extensible attribute-based test framework for .Net.
MbUnit.Framework.ContractVerifiers
The MbUnit.Framework.ContractVerifiers namespace contains contracts (IContract) that are used together with the VerifyContractAttribute to verify common invariants that appear in contracts.
MbUnit.Framework.ContractVerifiers.Core
The MbUnit.Framework.ContractVerifiers.Core namespace contains types that are used as part of the internal implementation of contract verifiers.
MbUnit.Framework.Reflection
The MbUnit.Framework.Reflection namespace provides helpers for accessing non-public members of types from test code.
MbUnit.Framework.Xml
The MbUnit.Framework.Xml namespace contains types for comparing Xml documents.