JvmBridge.Testing
26.11.2.3380
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package JvmBridge.Testing --version 26.11.2.3380
NuGet\Install-Package JvmBridge.Testing -Version 26.11.2.3380
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="JvmBridge.Testing" Version="26.11.2.3380" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JvmBridge.Testing" Version="26.11.2.3380" />
<PackageReference Include="JvmBridge.Testing" />
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 JvmBridge.Testing --version 26.11.2.3380
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JvmBridge.Testing, 26.11.2.3380"
#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 JvmBridge.Testing@26.11.2.3380
#: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=JvmBridge.Testing&version=26.11.2.3380
#tool nuget:?package=JvmBridge.Testing&version=26.11.2.3380
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
JvmBridge.Testing
Test helpers for JvmBridge agents, for xUnit v3.
[JdkData(8)]supplies aJdkfor each requested Java major. The JDK is the checksum-pinned archive from JvmBridge's own inventory, downloaded once and cached; setJVMBRIDGE_JDK_<major>(orJVMBRIDGE_JDK_<major>_HOTSPOT,JVMBRIDGE_JDK_<major>_OPENJ9) to use an installed one. An installed JDK must be the Java version and implementation the test asks for, which it is asked once per run; otherwise, or when the directory does not exist, the test fails and says what it found. A major with no pinned JDK for the platform skips the test with the reason. Java 6 and 7 are pinned Zulu builds for linux-x64 and win-x64, and Java 7 also for win-x86 and osx-x64;CompileAsync(sources, release: 6)needs a JDK from 6 to 11, andrelease: 7one from 7 to 19.jdk.CompileAsync("Fixtures/**/*.java")compiles Java sources with the JDK and returns the class path.jdk.RunAsync("pkg.Main", classPath, agent: PublishedAgent.Find("MyAgent"))runs a class, optionally with the agent, and returns the exit code and combined output.PublishedAgent.Find(name)finds a published agent for the current runtime identifier inartifacts/agent/<rid>(orJVMBRIDGE_AGENT_DIRECTORY) and skips the test when it has not been published.ClassFileAssert.MatchesSnapshot(bytes, "Snapshots/run.txt", method: "run")compares thejavap -c-style disassembly of a class or method with a stored snapshot, so a patch's effect on the bytecode is reviewed in a diff. A relative path is resolved against the test project's directory. A mismatch writes<snapshot>.receivednext to it (add*.receivedto.gitignore), andJVMBRIDGE_UPDATE_SNAPSHOTS=1accepts what a run produced.ClassFileAssert.CallsandDoesNotCallassert on patched class bytes without a JVM. Pass adescriptorto match the whole member reference, not only the owner and name.PinnedArtifact(any HTTP or HTTPS address) andMavenArtifact(Maven coordinates) pin a jar of the application by its SHA-256, download it once and cache it in a directory named after the checksum;[PinnedArtifactData]and[MavenArtifactData]supply them to theories. Runpatch.ApplyToJar(path)andClassFileAssert.LinksAsync(jdk, helper, [path], patches)against them.
| Product | Versions 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.
-
net10.0
- JvmBridge (>= 26.11.2.3380)
- xunit.v3.assert (>= 4.0.2)
- xunit.v3.extensibility.core (>= 4.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 26.11.6.1035 | 0 | 11/6/2026 |
| 26.11.5.9127 | 0 | 11/5/2026 |
| 26.11.5.8973 | 8 | 11/5/2026 |
| 26.11.5.8626 | 12 | 11/5/2026 |
| 26.11.4.7033 | 55 | 11/4/2026 |
| 26.11.3.3660 | 101 | 11/3/2026 |
| 26.11.3.3299 | 81 | 11/3/2026 |
| 26.11.3.1474 | 97 | 11/3/2026 |
| 26.11.2.8588 | 97 | 11/2/2026 |
| 26.11.2.7078 | 98 | 11/2/2026 |
| 26.11.2.6955 | 93 | 11/2/2026 |
| 26.11.2.6797 | 91 | 11/2/2026 |
| 26.11.2.6597 | 91 | 11/2/2026 |
| 26.11.2.5851 | 95 | 11/2/2026 |
| 26.11.2.3664 | 99 | 11/2/2026 |
| 26.11.2.3380 | 93 | 11/2/2026 |
| 26.11.2.2543 | 104 | 11/2/2026 |
| 26.11.1.8904 | 145 | 11/1/2026 |
| 26.11.1.8161 | 100 | 11/1/2026 |
| 26.10.30.6660 | 107 | 10/30/2026 |
Loading failed
- chore(deps): update void-community/actions digest to b782bbd (67daae6)