Skip to content

Description

Storm Petrel Expected Baselines Rewriter is a freeware automation tool, a powerful code rewrite solution, and an incremental source generator that produces modified versions of unit and integration tests. It automates the rewrite of the code by updating the expected baselines in the original tests, streamlining the process of baseline creation and accelerating test development.

Main Functions

product-key-features
  • Generate Modified Test Copies

Create modified "StormPetrel" test copies using .NET Incremental Generators with embedded context code.

  • Update Expected Baselines

Automate updating expected baselines by capturing and converting actual baselines to C# code.

  • Automate Baseline Creation

Run generated test copies to overwrite expected baselines and reduce manual effort and time.

  • Component Integration

Use NuGet packages for fast development integration.

  • Facilitate Manual Review

Apply manual review of updated baselines for accuracy after using automated testing tools.

Key Features

StormPetrel-
  • Framework Support

Enhanced compatibility with leading test frameworks including XUnit, NUnit, and MSTest.

  • Variable Pair Configuration

Flexible configuration options for actual/expected variable pairs, accommodating multiple sets.

  • Customizable Algorithms

Provision for custom or configurable algorithms to generate or dump expected baselines, leveraging the Storm Petrel test execution context.

  • Baseline Instantiation

Comprehensive support for expected baselines instantiated within the test method or sourced from external methods with variable arguments.

  • Free .NET Tests Updating Baseline

Storm Petrel simplifies the process of updating baselines in .NET tests, offering a free solution that reduces manual work.

Manual

Step 1: Modify Your Tests

  • Add StormPetrel NuGet package to your unit or integration tests project to enable Storm Petrel to generate modified test copies.
  • Make optional StormPetrel configuration of the project.
  • This will trigger the .NET Incremental Generators to create the modified "StormPetrel" test copies.

Step 2: Generate Modified Test Copies

  • Execute the generated "StormPetrel" test copies to capture the actual baselines and convert them to C# code.
  • The captured baselines will be converted to C# code using the VarDump package or ObjectDumper.NET package, or using your custom converter.
  • The tool will automatically overwrite the expected baselines in the original tests or other specified files.

Step 3: Review the Changes

  • Manually review the updated baselines to ensure accuracy.
  • Make any necessary adjustments to the tests or baselines as needed

Screenshots

Storm Petrel
Storm Petrel
StormPetrel
StormPetrel
StormPetrel
StormPetrel-Calculator
StormPetrel.Generator

Customization

SCAND offers a complete range of software development services. We’ve developed software for numerous businesses and would love to work with you too. Just submit your request, and we'll swiftly get in touch to go over details.

Other Products

Outlook4Gmail

Outlook4Gmail is an Outlook add-in that helps to perform Google calendars, contacts and task sync with Outlook.

Learn More

WinGPG

WinGPG is a tray-based classical Windows application, Windows NT Explorer shell extension, and a classic GPGv2 distribution.

Learn More

Scrypto Wallet

Scrypto Wallet is a ready-made solution for companies to provide an excellent cryptocurrency experience. It allows users to create and manage wallets on various popular blockchains and crypto networks.

Learn More

Get in Touch with Us

Please enter your name.
Please enter a subject.
Please enter a message.
Please agree to our Terms and Conditions and the Privacy Policy.

This site uses technical cookies and allows the sending of 'third-party' cookies. By continuing to browse, you accept the use of cookies. For more information, see our Privacy Policy.