🃏
Bard
  • Introduction
  • Getting Started
    • Installation
    • Writing Your First Test
    • Configuration
    • .NET Fiddles
  • Anatomy Of A Scenario
    • Given
      • StoryData
      • StoryBook
      • Chapter
      • Story
    • When
    • Then
      • HTTP Response
      • Headers
      • Bad Requests
      • Performance Testing
  • Advanced
    • Dependency Injection
  • Miscellaneous
    • Change Log
    • Migration Guide
  • gRPC
    • Installation
    • Configuration
    • Writing A Test
  • Tips & Tricks
    • FAQ
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Anatomy Of A Scenario

When

Execute your tests against your API by calling When on your scenario.

When
    .Post("api/bankaccounts/1234/withdrawals", new Deposit {Amount = 100});

This is essentially a wrapper over the standard .NET HttpClient but that adds additional logging.

PreviousStoryNextThen

Last updated 4 years ago

Was this helpful?