Integration Tools And Software Tests
OpenFrame Documentation
Get the most out of OpenFrame · Book 30 minutes with Conrad, 25 years in IT. He'll show you what Mingo and Fae can take off your list.
OpenFrame Documentation
Integration Tools And Software Tests is the end-to-end regression suite for OpenFrame's integrated-tool registry and remote-management software workflows. It is supplied by the com.openframe.oss:openframe-test-service-core library at version 7.0.11 and runs through this repository's OpenFrame test service. The suite exercises live GraphQL reads and mutations against a configured tenant, Fleet MDM-backed inventory, and—where required—an enrolled Windows test device.
The module is deliberately state-aware. Read-only checks validate lists, searches, facets, pagination, detail views, and GraphQL error behavior. The software bundle scenario creates a disposable draft, installs a harmless package on the designated test device, observes its action history, then removes the package through SSH during the test or cleanup.
The following generated sub-module pages provide the detailed test contracts for this module.
| Area | Contract validated | Primary test |
|---|---|---|
| Integrated tools | Tenant registry list, facet derivation, filters, search, and empty-result behavior | Integrated Tools |
| Software bundles | Draft lifecycle, device assignment, validation failures, immediate package dispatch, action completion, and cleanup | Software Bundles |
| Software action history | Action and device drill-downs, status and customer filters, facets, ordering, pagination, and absent records | Software Action History |
| Software inventory | Fleet and device-scoped software and CVE queries, facets, sorting, pagination, and invalid-device handling | Software Inventory |
The test classes call typed test APIs, which issue GraphQL requests to the running OpenFrame platform. Results reflect tenant data and the state of integrated tools, remote-management deliveries, Fleet MDM inventory, and vulnerability projections. SoftwareBundleTest is the mutating path; its completed installation becomes an observable input for SoftwareActionHistoryTest in pipeline execution.
flowchart LR
TestRunner["Test Runner"] --> TestModule["Integration Tools And Software Tests"]
TestModule --> ToolApi["Tool API"]
TestModule --> BundleApi["Software Bundle API"]
TestModule --> ActionApi["Software Action API"]
TestModule --> InventoryApi["Software Inventory API"]
ToolApi --> GraphQL["OpenFrame GraphQL API"]
BundleApi --> GraphQL
ActionApi --> GraphQL
InventoryApi --> GraphQL
GraphQL --> ToolRegistry["Integrated Tool Registry"]
GraphQL --> Rmm["Remote Management Services"]
Rmm --> Device["Enrolled Windows Test Device"]
Rmm --> Fleet["Fleet MDM Inventory"]
Fleet --> InventoryApi
All four classes extend the shared test base supplied by the test library and use JUnit tags to select suitable environments. The saas tag identifies the suite's target environment. Tests that need a real enrolled machine carry needs-device; action-history verification is also tagged post-mingo so it can run after the bundle installation path in the pipeline.
sequenceDiagram
participant Runner as "Test Runner"
participant Bundle as "Software Bundle Test"
participant API as "GraphQL API"
participant Device as "Windows Test Device"
participant History as "Software Action History Test"
Runner->>Bundle: Run bundle lifecycle tests
Bundle->>API: Create and validate draft
Bundle->>API: Submit immediate package installation
API->>Device: Dispatch package action
Device->>API: Report completed action
Runner->>History: Run post-install history tests
History->>API: Query completed installation
History->>API: Query action devices and facets
Bundle->>Device: Remove installed package through SSH
vm115982 Windows device. They use JUnit assumptions to skip dependent steps when that device, its package manager, or SSH configuration is unavailable.AfterAll cleanup.null details, NOT_FOUND, BAD_REQUEST, and validation errors.filteredCount values, pagination flags, filter facets, sorted output, parent counts, and detail records must agree.flowchart TD
ToolTests["Integrated Tools Test"] --> ToolQueries["Tool Queries and Facets"]
BundleTests["Software Bundle Test"] --> BundleLifecycle["Draft and Submission Lifecycle"]
BundleLifecycle --> InstallAction["Completed Package Installation"]
InstallAction --> HistoryTests["Software Action History Test"]
HistoryTests --> ActionQueries["Action and Device Queries"]
InventoryTests["Software Inventory Test"] --> FleetQueries["Fleet Software and CVE Queries"]
FleetQueries --> DeviceQueries["Device Scoped Software and CVE Queries"]
The implementation is maintained in the OpenFrame OSS Library. The source files below define the tests executed by this repository:
When changing the remote-management schema or test APIs, preserve the cross-view invariants documented here. In particular, bundle submission must remain idempotent after completion, action history must expose a completed bundle run, and inventory list, facet, detail, and device-scoped projections must retain consistent counts and scopes. Environment-dependent assumptions are intentional safeguards against modifying shared tenant state when required infrastructure is absent.