Automated testing in 1C: Vanessa Automation, YAxUnit and integration checks
Checkcraft is a desktop app for checking APIs and logs without code, with a free edition. Download, no sign-up →
1C is tested on three levels: unit tests of code, scenario tests of the UI, and integration checks from outside over HTTP. Each level has its own tools and they do not replace each other. Below is an overview of when each is needed and where to start if there are no tests yet.
Scenario tests: Vanessa Automation
Vanessa Automation is an open tool where a scenario is written in Gherkin: given, when, then. It opens forms, fills fields, clicks buttons and checks the result like a user. It suits regression of standard processes after updates, but such tests take longer to write and need more maintenance.
Unit tests: YAxUnit
YAxUnit is an open unit testing framework for 1C: tests are written in the 1C language in a separate extension and check common module functions without the UI. It is the fastest level, convenient for calculations, data transformations and JSON parsing.

Checking integrations from outside
HTTP services, OData and web services are easier to check the way the partner calls them: an external request with response field checks. Such checks do not depend on the configuration version, a tester without 1C knowledge can maintain them, and they catch silent exchange breakage after updates.
1C testing tools
| Level | Tool | What it checks |
|---|---|---|
| Unit tests | YAxUnit | Common module functions without the UI |
| Scenario tests | Vanessa Automation | User actions in forms |
| Scenario tests | 1C:Scenario Testing | Recorded form scenarios |
| Load | 1C:Test Center | The database under many users |
| Integrations | curl, API clients, HTTP checks | HTTP services, OData, web services from outside |
1C:Scenario Testing and 1C:Test Center are part of the 1C:Corporate Toolkit. Vanessa Automation and YAxUnit are open and free.

Where to start with no tests
- List the five processes whose failure costs most: usually key document posting and exchanges.
- For exchanges, add checks from outside: they are fastest to write and catch breakage after updates.
- Add unit tests for complex calculations.
- Add UI scenario tests last, only for the most important processes.
A Vanessa Automation scenario sample
Feature: Posting a customer order
Scenario: An order with two items posts
Given I open a new "Customer order" document
And I fill the counterparty "Ivan Petrov"
And I add item "Monitor 24" quantity 2
When I click "Post and close"
Then the order list has an order for 31800Steps are simplified here: real scenarios use the library's ready steps or recorded actions. Integration checks from outside are covered in API regression testing.
More on 1C
Section overview and all guides: 1C integration via API: options, architecture and examples.
- REST API in 1C: HTTP services, OData and calling external APIs
- 1C HTTP services: create, publish, test and debug with examples
- HTTP requests from 1C: GET, POST, headers, auth and timeouts with examples
- HTTP request failed in 1C: causes and fixes
- OData in 1C: setup, queries and REST integration with examples
Frequently asked questions
What automates 1C testing?
YAxUnit for unit tests, Vanessa Automation or 1C:Scenario Testing for UI scenarios, 1C:Test Center for load, HTTP checks for integrations.
What is Vanessa Automation?
An open 1C scenario testing tool: Gherkin scenarios run in forms like user actions.
Where to start?
Exchange and HTTP service checks from outside and unit tests for calculations; UI scenarios for the key processes only.
Repeat this on your own API
Checkcraft is a desktop app that saves API response checks without code and shows what did not match. Start with a sample, then use your own sanitized data. Free runs on Windows and Linux with no time limit.
Download FreeDownload and first runNo sign-up or email needed, the archive is ready in a couple of minutes. See the edition limits.
References
Start with the linked example and compare its result with your own test requirement.