Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Twizzar

Twizzar

vi-sit

|
22 installs
| (3) | Free
TWIZZAR is a toolkit for Visual Studio that helps C# developers to ease the development experience of writing highly maintainable tests.

Twizzar

Twizzar is much more than just another mocking framework. It is a testing toolkit for .NET (C#) that helps you write high quality tests. Twizzar can automatically detect and generate dependencies of a class or interface. Thanks to its lean API and intuitive UI, which is seamlessly integrated in Visual Studio, it is easy to use and will speed up your work progress even in complex test setups. Twizzar will help you write clear and maintainable code tests, such as unit tests or integration tests.

  • Saves time when working with complex test setups

  • Easy to use thanks to its intuitive UI and lean API

  • Enhances efficiency of developing maintainable tests

  • Seamlessly integrated into Visual Studio

  • Automatic detection and generation of dependencies

For more details, please visit: https://www.twizzar.com/

Quick start and first steps

Twizzar consists of two nuget packages and one Visual Studio Extension:

  1. Twizzar API Contains the methods used in unit tests for building up the test fixture.
  2. Twizzar Analyzer Generates code at compile time which is used by the Twizzar API to provide an easy-to-use selection of the dependencies for configuration.
  3. Twizzar VsAddin Provides a User Interface for easy configuration of the Fixtures.

To run Twizzar, install the VsAddin and add the Twizzar API nuget packages to each UnitTest project. After the installation you can write your first unit test with Twizzar:

[Test]
public void MyFirstTest()
{
    // arrange

    // Build a potion, or any other class or interface, with Twizzar.
    var potion = new ItemBuilder<Potion>().Build();

    // act
    ... your act code

    // assert
    ... your arrange code
}

For more information and documentation visit: https://github.com/Twizzar/Twizzar/wiki/Quickstart

Automatically detects and resolves dependencies of a class or interface

TWIZZAR automatically detects dependencies and can pull up classes, structs and interfaces. Instead of writing tests in the traditional way, Twizzar also resolves dependencies automatically. However, if desired, they can be configured manually.

AutomaticallyDetectsAndResolvesDependencies-low.gif

Intuitive UI for dependency configuration

If needed, dependencies can be easily configured via a user-friendly UI or a provided API.

intuitive-UI-for-dependency-configuration__1.png

Access to non-public members

Easily access and modify all members of a class in your project, regardless of their access modifier.

access-to-non-public-members.png

Cleaner automated testing thanks to lean arrange sections

Write clear and maintainable unit tests by automatically outsourcing the generation of the SUT and DoCs to a builder.

cleaner-automated-testing.png

Reusable test configurations

Save time by reusing your own test configurations.

reusable-test-configurations.png

Works with every testing framework

TWIZZAR runs on all popular testing frameworks such as NUnit, xUnit, MS Test or Resharper Test Runner. Simultaneous use of other testing power tools such as NCrunch also works smoothly.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft