Skip to content

DCR: As a developer, I would like to see a transcript of my tests so I can analyze how the bot responded. #5341

@gabog

Description

@gabog

Issue

When dialog at test fails, it should be easy to look at the transcript of the conversation to see a log of the test conversation so we can analyze inputs and outputs without having to debug and dive into code.

Proposed change

Create a test transcript middleware that can be added to DialogTestClient that logs incoming and outgoint activites.

Component Impact

  • Add this middleware to the Microsoft.Bot.Builder.Testing package

Implementation notes

The new middleware should log to the output console by default but it should be possible to override the write methods so the class can be specialized and the output redirected to a file or any other persistent storage.

Customer Impact

NA: new feature

Tracking Status

Dotnet SDK (Tracked in 2033)

  • PR
  • Merged

Javascript SDK (Tracked in 973)

  • PR
  • Merged

Python SDK (Tracked in 202)

  • PR
  • Merged

[dcr]

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions