Skip to content

Getting Started

Bobcat is a toolset for authoring, supervising, and executing integration tests in .NET.

bash
dotnet add package Bobcat

Your first feature

gherkin
Feature: Customer registration

  Scenario: A new customer is created
    Given a customer named "Ada"
    When the customer list is requested
    Then the response contains "Ada"

Bind the steps to ordinary methods on a fixture:

csharp
[Given("a customer named {string}")]
public Task Customer(string name)
    => Context.PostJsonAsync("/customers", new CreateCustomer(name));

Prefer C# to .feature files? The same engine runs code-first specifications[Scenario] methods on a Specification class, no generator involved — and both styles render, supervise, and report identically.

Already have a large test suite you would rather not rewrite? Specs from tests you already have turns existing xUnit tests into specifications with marker comments and decorated helpers, one class at a time.

Next

Released under the MIT License.