JvmBridge.Testing
26.10.23.2995
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.10.23.2995
NuGet\Install-Package JvmBridge.Testing -Version 26.10.23.2995
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.10.23.2995" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="JvmBridge.Testing" Version="26.10.23.2995" />
<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.10.23.2995
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: JvmBridge.Testing, 26.10.23.2995"
#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.10.23.2995
#: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.10.23.2995
#tool nuget:?package=JvmBridge.Testing&version=26.10.23.2995
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.
| 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.10.23.2995)
- 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.10.23.4023 | 49 | 10/23/2026 |
| 26.10.23.3501 | 49 | 10/23/2026 |
| 26.10.23.2995 | 46 | 10/23/2026 |
| 26.10.23.2515 | 47 | 10/23/2026 |
| 26.10.23.2374 | 52 | 10/23/2026 |
| 26.10.22.7463 | 99 | 10/22/2026 |
| 26.10.22.5110 | 50 | 10/22/2026 |
| 26.10.22.4562 | 49 | 10/22/2026 |
| 26.10.22.4199 | 50 | 10/22/2026 |
| 26.10.22.3403 | 42 | 10/22/2026 |
| 26.10.22.3284 | 41 | 10/22/2026 |
| 26.10.22.2987 | 42 | 10/22/2026 |
| 26.10.22.2593 | 47 | 10/22/2026 |
| 26.10.22.2272 | 61 | 10/22/2026 |
- fix(build): 🐛 relocked the Templates project for the new analyzers (36a7f98)