MASS4.Guinevere.Scripting 6.7.0

dotnet add package MASS4.Guinevere.Scripting --version 6.7.0
                    
NuGet\Install-Package MASS4.Guinevere.Scripting -Version 6.7.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MASS4.Guinevere.Scripting" Version="6.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MASS4.Guinevere.Scripting" Version="6.7.0" />
                    
Directory.Packages.props
<PackageReference Include="MASS4.Guinevere.Scripting" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MASS4.Guinevere.Scripting --version 6.7.0
                    
#r "nuget: MASS4.Guinevere.Scripting, 6.7.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MASS4.Guinevere.Scripting@6.7.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MASS4.Guinevere.Scripting&version=6.7.0
                    
Install as a Cake Addin
#tool nuget:?package=MASS4.Guinevere.Scripting&version=6.7.0
                    
Install as a Cake Tool

Guinevere.Scripting

Drives a Guinevere UI without a window, so pointer-driven behavior — drags, docking, splitters, menus — can be exercised in tests, in CI, or while debugging.

Not referenced by the core library; add it only where you need it.

Injecting input directly

var input = new ScriptedInputHandler();
var gui = new Gui { Input = input };

input.MoveTo(50, 50);
input.PressButton();
// ... render a frame ...
input.NewFrame();   // once per frame, to roll the press/release edges

Replaying a JSON script

{
  "width": 1400,
  "height": 900,
  "steps": [
    { "action": "move", "x": 40, "y": 59 },
    { "action": "press", "button": "left" },
    { "action": "move", "x": 1220, "y": 300 },
    { "action": "dump", "path": "mid-drag.png" },
    { "action": "release", "button": "left" },
    { "action": "expectCapture", "value": "none" }
  ]
}
var script = InputScript.FromJson(File.ReadAllText(path));
var player = new InputScriptPlayer(input, outputDirectory: "artifacts");
var passed = player.Play(script, gui, DrawMyUi);

Play returns false if any expect… step failed, so a script doubles as a CI check. See InputAction for the full list of steps.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on MASS4.Guinevere.Scripting:

Package Downloads
MASS4.Guinevere.Profiling

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
6.7.0 237 11/13/2026
6.6.0 451 11/5/2026
6.5.0 334 10/31/2026
6.4.1 243 10/26/2026
6.4.0 235 10/21/2026
6.3.0 116 10/15/2026
6.2.0 145 10/14/2026
6.1.0 183 10/13/2026
6.0.0 198 10/10/2026
5.9.0 154 10/6/2026
5.8.0 131 10/5/2026
5.7.0 204 10/3/2026
5.6.1 153 10/2/2026
5.6.0 106 10/2/2026
5.4.0 141 9/30/2026
5.3.0 123 9/29/2026
5.2.0 135 9/28/2026
5.1.0 106 9/27/2026
5.0.0 106 9/26/2026
4.2.0 132 9/25/2026
Loading failed