Skip to content

A mechanism for tracking the request-responses in your tests and converting them into PlantUML diagrams.

License

Notifications You must be signed in to change notification settings

lemonlion/TestTrackingDiagrams

Repository files navigation

Test Tracking Diagrams

Effortlessly autogenerate sequence diagrams from your component/acceptance tests every time you run them. Tracks the HTTP requests between your test caller, your Service Under Test (SUT), and your SUT dependencies, and then converts them into a PlantUML diagrams that are autoloaded into a report/specifications html file.

Example Diagram Output

d5J1Qjj04Bqlx3zCHGuDYQZakB4ZwX18tD26a80DFOGIrhiZMrZQ3QELJGZziXxwIVs5QYKv8cgAwzoqxysyD_Eqqk-VlyvoAyWMMSePP_aoqG-2H0Ph4W_V4cKNC0m2pjx5XPOsCHhsf4aDlTzRYRJ0_P8Xj0Lfy3vLHEGTrDI11wTUIQDMcrxEH66DBh8P4eJEJqXh2BnpaQP87eWSPF-1

Supported Frameworks

Compatible with LightBDD, XUnit and NUnit.

Nuget Packages

Getting Started

  • Pull down the repository.
  • Open the Example.Api solution.
  • Run the tests in each of test projects.
  • For each test project go the the \bin\Debug\net8.0\Reports folder and note the three files that have been created.

ComponentSpecifications.yml

The specifications document in YAML format.

ComponentSpecificationsWithExamples.html

The specifications html file, including the autogenerated diagrams for each test.

FeaturesReport.html

A report on the test run, including the autogenerated diagrams for each test.

Note: Clicking on the diagrams will reveal the backing PlantUml.