A sandbox is an isolated environments for executing test actions.

Namespace:  Gallio.Framework
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.459.0)

Syntax

C#
public sealed class Sandbox : IDisposable
Visual Basic (Declaration)
Public NotInheritable Class Sandbox _
	Implements IDisposable

Remarks

It provides the ability to abort actions in progress so that the test runner can proceed to run other actions.

Sandboxes are hierarchically structured. When an outer sandbox is aborted, all of its inner sandboxes are likewise aborted. A sandbox also provides the ability to create new child sandboxes at will so that test actions can be isolated with fine granularity.

This class is safe for use from multiple concurrent threads.

Inheritance Hierarchy

System..::.Object
  Gallio.Framework..::.Sandbox

See Also