Improve scenario update script (#759)

Following #757, improves the script for generating scenario test cases
with:

- A requirements file
- Support for downloading packse scenarios from GitHub dynamically
- Running rustfmt on the generated test file
- Updating snapshots / running tests
This commit is contained in:
Zanie Blue 2024-01-03 20:13:11 -06:00 committed by GitHub
parent bf9e9daa39
commit 0d5252580c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 146 additions and 57 deletions

View file

@ -1,6 +1,6 @@
#![cfg(all(feature = "python", feature = "pypi"))]
/// Generated by `scripts/scenarios/generate.py`
/// Generated by `./scripts/scenarios/update.py`
use std::process::Command;
use anyhow::Result;