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
- 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
- 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
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.
Download
Other Products
Outlook4Gmail
Outlook4Gmail is an Outlook add-in that helps to perform Google calendars, contacts and task sync with Outlook.
WinGPG
WinGPG is a tray-based classical Windows application, Windows NT Explorer shell extension, and a classic GPGv2 distribution.
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.