Skip to content

Vanya

A constrained DSL for e2e tests that transpiles to Python. JavaScript support planned.

Example

Vanya test scenario (vanya-lang.org/v0.1)
Script title: "login_test"
Within the Browser (plugin: playwright-python, type: browser, url: 'http://localhost:3000')
go to "/login"
type "user@test.com" into input (id: 'email')
type "password123" into input (id: 'password')
click button (testid: 'submit')
see a div (text: 'Welcome')

Features

Readable

Tests read like specifications. No boilerplate, no ceremony.

Portable

Write once, transpile to Playwright Python and Requests. JavaScript support planned.

Type-safe

Static analysis catches errors before runtime.

Extensible

Add new frameworks with TOML plugin files.