Common questions

Frequently asked questions

The questions developers ask before they trust a local Apex runtime, with the answers as they stand today.

renmy runtime runs your Apex tests locally, without a Salesforce org, a scratch org, or Docker. The questions below cover how accurate the local runtime is, which Apex language and platform features are supported today, how licensing and pricing work, whether your source code ever leaves your machine, and how renmy runtime fits into CI/CD pipelines and AI coding workflows.

Pro covers one developer on three machines: local debugging, parallel tests and local release tools. Several Pro licenses do not include CI access. Team includes Pro for every developer plus a dedicated CI license for automated tests and release workflows, the on-prem Assurance console for shared release evidence, central seat assignment and revocation, and priority email support. Team starts at three developer seats. If you only need local development tools, Pro is enough; choose Team to put renmy runtime into your automated delivery pipeline.

Compare Pro and Team

renmy runtime is fast, and the embedded PostgreSQL is not a bottleneck. A typical Salesforce Apex test completes in tens of milliseconds (real SOQL and DML included), and suites of thousands of tests finish in seconds. On the benchmarks page, four open-source suites of up to 471 tests each finish in under a second. Measured wall-clock, the real database does not cost you speed.

Why not: the per-query overhead of a separate database process is measured in microseconds, and renmy runtime strips it aggressively. The embedded PostgreSQL talks over a unix domain socket with a binary protocol, and durability features that make no sense for a test runner (fsync, WAL, autovacuum) are turned off. What remains is dwarfed by what the real database buys: savepoints, deferrable constraints, and concurrent writes, which are exactly the behaviors non-trivial Apex test suites depend on.

The full engineering breakdown, including what PostgreSQL costs per query and why we chose it anyway, is on the Why PostgreSQL page.

Salesforce Apex. renmy runtime is a local runtime and test runner for Apex, the programming language of the Salesforce Platform, the language you write triggers, classes, and @isTest methods in.

It has nothing to do with Oracle APEX (Oracle Application Express), which is an unrelated low-code app-building product for Oracle databases. If you're searching for Oracle APEX tooling, renmy runtime isn't it. If you write Salesforce Apex, renmy runtime runs it on your machine without a Salesforce org.

renmy runtime runs a complete Apex interpreter. There is no mock or stub layer. SOQL queries are translated to real SQL and executed against an embedded PostgreSQL database. Triggers fire automatically on DML operations with full context variables (Trigger.new, Trigger.old, Trigger.newMap, Trigger.oldMap). Test context isolation works - Test.startTest() and Test.stopTest() behave as expected.

The runtime is designed to match Salesforce behavior for the patterns that matter most in unit and integration tests: class execution, DML, SOQL, triggers, collections, exceptions, and annotations.

Governor limits are enforced with the platform's own LimitException messages: SOQL queries and rows, SOSL, DML statements and rows, callouts, @future and queueable calls, stack and trigger depth, and CPU time and heap (10 MB synchronous, 25 MB asynchronous at API 68). The counted limits match the org exactly. CPU time and heap are measured on your machine, which is not Salesforce's server, so a test that runs close to either limit can land differently in the org. For tests that probe those two limits on purpose, a real org remains the authoritative environment.

renmy runtime supports a broad set of Apex language features:

- Classes, interfaces, enums, and abstract classes - Inheritance, polymorphism, and method overloading - Generics and typed collections (List, Set, Map) - All trigger events (before/after insert, update, delete, undelete) - Validation rules from the project, evaluated on every insert and update with the platform's error code, including fields on parent records such as Account.Type or Owner:User.Profile.Name - Duplicate rules, workflow rules and Process Builder processes from the project, evaluated on DML in the platform's order, Case and Lead assignment rules when the DML carries an assignment rule header, and the project's approval processes through Approval.process - Flow execution: record-triggered flows, autolaunched flows, platform event flows, subflows, decisions, loops, record lookups, formulas, collection processors. A flow fault reaches Apex as the DmlException or FlowException Salesforce throws - Person accounts, in projects that enable the feature - SOQL queries with bind variables, relationship queries, aggregates, and subqueries - DML operations (insert, update, delete, upsert, undelete) - Exception handling (try/catch/finally, custom exceptions) - Annotations (@isTest, @testSetup, @isTest(SeeAllData=true)) - System.assert, System.assertEquals, System.assertNotEquals - String, Integer, Decimal, Date, DateTime, Boolean, and Blob types - Static and instance methods and fields - Access modifiers (public, private, protected, global) - Local debugging: breakpoints, step in/over/out, variable inspection - Structured execution traces with 5 verbosity levels (method calls, SOQL, DML, triggers, timing) - System.debug() with structured output (not just text - typed values, nested objects, collections) - VS Code extension with CodeLens, Test Explorer, coverage gutter icons, governor limits, SOQL preview, trace viewer - JetBrains / IntelliJ plugin with the same feature set - Browser-based Dev UI dashboard (renmy dev) with real-time test results, schema explorer, and anonymous Apex execution - Mutation testing (Pro): automatically mutates your code and verifies your tests catch each change - to our knowledge, the first for Apex

Architectural limitations - these can never be fully replicated in a local runtime:

- Exact CPU time and heap - renmy runtime enforces both limits, but it measures them on your machine. Salesforce measures them on its own servers against its own runtime, so a test that runs close to either limit can land differently in the org. Counted limits, such as SOQL queries, rows and DML statements, match exactly.

Not implemented today:

- Flow-based approval processes, time-dependent workflow actions, scheduled process actions and outbound messages - Certain aggregate edge cases

The runtime is actively expanding - each release adds more coverage. For features that require full platform fidelity, complement renmy runtime with scratch org testing for that subset.

Yes - and this might be the most impactful use case. Today, running Apex tests in CI means maintaining a connected org, a JWT cert, a DevHub with scratch org limits, and a pipeline that breaks whenever any of those expire. With renmy runtime, none of that exists. No org, no Salesforce credentials, no scratch org pool. Install the binary, add your license key as a CI secret, run tests.

renmy runtime produces the same standard output formats that every other language ecosystem uses: JUnit XML for test results and Cobertura XML for coverage. These plug directly into SonarQube, Codecov, GitHub quality gates, GitLab CI, CircleCI, Azure Pipelines, and any other tool that consumes industry-standard formats. Your Salesforce project gets the same quality infrastructure that your Java and JavaScript teams have had for years.

renmy runtime needs no sandbox and no scratch org. Your merge gates validate Apex behavior rather than only whether the deploy succeeded.

Yes. renmy deploy is a gated one-shot deployment: it snapshots your selected source into a content-addressed bundle, runs renmy runtime validation and your configured local tests against that bundle, validates the identical bytes in the target org with a real Salesforce check-only validation, and only then deploys. It is a Free command. The safe default is not paywalled.

For release processes with an approval step, renmy release validate writes an immutable receipt (bundle digest, gate results, the Salesforce validation job ID and its quick-deploy expiry), and renmy release deploy later ships exactly that validated payload, quick-deploying the org-side job where Salesforce supports it. Receipts are portable CI artifacts: validate on one runner, approve, deploy from another. Ready-made templates exist for GitHub Actions, GitLab CI/CD, Azure DevOps, and generic shell.

And renmy sf passes any Salesforce CLI command through unchanged, so the raw ungated deploy (renmy sf project deploy start) stays available, spelled explicitly.

renmy runtime doesn't replace scratch orgs - it frees you from needing one just to develop. With renmy runtime, you can write and test Apex code on your laptop, on a plane, or on any machine - no internet, no org access, no credentials required.

Use renmy runtime for your daily work: business logic, SOQL queries, triggers, flows, and class behavior. Develop anywhere, iterate freely, and deploy whenever you're ready. The aim is full parity with the platform, so that the org is needed only for final validation, deployment and browser-based UI testing.

The org becomes a deployment target rather than a development dependency.

renmy runtime has four tiers:

Free ($0, forever) - Full Apex runtime, unlimited test runs, SOQL/DML/triggers/flows, code coverage (console, JSON, HTML), governor limit enforcement, gated deploys, VS Code and JetBrains integration, 1 machine.

Pro ($190/year, or $19/month) - Everything in Free plus background daemon (instant startup), parallel test execution, watch mode, debugger with breakpoints, mutation testing, coverage gutter icons, org fallback, JUnit XML and Cobertura output, and the release workflow on your own machine. 1 developer, 3 machines. Pro is a personal license and does not run in CI.

Team ($790 per developer per year, or $79 per developer per month, three seats minimum) - Everything in Pro plus test runs and release workflows in CI, a dedicated CI runner license that activates on unlimited ephemeral build agents (no per-runner machine slot), the on-prem Assurance console, a license management portal, and priority email support. 3 machines per seat.

Enterprise (from $40,000 per year) - Team capabilities under an annual custom contract. Developer seats, CI usage and support coverage agreed in the order form. A named contact, agreed support hours and response targets, DPA and PO billing. SSO and on-premise license validation scoped on request. Implementation and custom development are scoped and priced separately. Setup fees do not offset the annual subscription. Annual contract. Prices net, plus applicable taxes. Final scope and fees follow a written quote.

The Free tier is fully functional - coverage and governor limits work the same as in Pro. Pro adds productivity features for one developer; Team is the tier that runs in CI. Large companies can buy Team on standard self-service terms; Enterprise is for negotiated scope and contractual support.

Org-less CI setup (from $15,000, by Apex surface) - A fixed-fee engagement for teams whose Apex is still in the org and whose tests only run there. Setup is a separate implementation engagement. Its fee does not offset the annual subscription. Basic onboarding is free. Fixed prices, net, plus VAT. For businesses only (§ 14 BGB).

The Org-less CI setup, in detail

No. Everything runs entirely on your machine.

renmy runtime is a local binary. Your Apex source code is read from the filesystem, parsed in-process, and executed against a local embedded PostgreSQL database. No code is transmitted to any server, and no cloud service is involved in test execution.

renmy runtime makes license-validation calls for paid features and sends one privacy-minimal product activation event by default. Licensed headless CI sends a separate de-duplicated activation event. Neither includes code, file paths, test names, Salesforce data, repository details, or command arguments, and telemetry can be disabled with NIMBUS_TELEMETRY=false.

renmy runtime works with standard SFDX project format - the same structure used by Salesforce CLI (sf/sfdx).

Your project root should contain an sfdx-project.json file that defines your package directories. Apex classes go in the standard force-app/main/default/classes/ path (or whatever your sfdx-project.json specifies).

Run renmy init at your project root to initialize the local environment. renmy runtime reads your sfdx-project.json to locate your Apex source files automatically - no additional configuration needed.

Yes - and this is increasingly one of the most important use cases. AI coding tools like Claude Code, Cursor, and GitHub Copilot work in write-test-fix loops. They generate code, run tests, read failures, and iterate. That loop only works when test execution is fast and local.

With org-based testing, an AI agent would need to deploy to a scratch org and wait 5-10 minutes per iteration - making the agent effectively useless for Apex. With renmy runtime, the agent runs renmy test, gets results in milliseconds, and can iterate at the same speed it does for Python, TypeScript, or any other language.

renmy runtime makes Salesforce development compatible with the agentic workflows that are becoming standard everywhere else. Your AI assistant can write a trigger, test it, fix it, and verify - all without touching an org.

Yes. Headless 360's custom MCP servers wrap existing Apex hooks - @InvocableMethod, @AuraEnabled, @RestResource, and autolaunched Flows - which renmy runtime has executed locally since day one. The MCP wrapping is metadata configuration, not new Apex code, so your custom MCP servers test against the embedded Postgres with no extra setup.

On top of that, renmy runtime itself ships an MCP server (renmy mcp) that registers alongside the Salesforce DX MCP server, so AI agents can call local test execution and live-org tools in the same loop.

The full breakdown - including which standard servers map to what, and what's not yet covered - is on the dedicated Headless 360 page.

Still have questions?

Reach out to us at support@renmy.net and we'll get back to you.

renmy runtime is available today

Install renmy runtime in one line and run your first Salesforce Apex test in minutes.