Registry / testing / concordialang

concordialang

JSON →
library2.0.0-alpha.20jsnpmunverified

Concordia Language Compiler (concordialang) is a CLI tool for acceptance testing driven by natural language specifications. It compiles Gherkin-like feature files into executable test scripts using pluggable test frameworks (e.g., CodeceptJS, Playwright). Version 2.0.0-alpha.20 is the latest alpha, released sporadically with incremental features like multi-package-manager support (npm, yarn, pnpm), plugin updates, and XPath support. Differentiators: test-framework-agnostic plugin architecture, built-in report generation, and focus on BDD/ATDD workflows with support for actions like 'accept alert'.

npm install concordialang
INSTALL
IMPORT
SIG · CONCORDIALANG
C
concordialang
testingjavascriptv2.0.0-alpha.20
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import { compile } from 'concordialang'
const concordia = require('concordialang')
ESM-only; CommonJS not supported.
compile
import { compile } from 'concordialang'
const { compile } = require('concordialang')
Named export, not default.
type definitions
import type { ConcordiaConfig } from 'concordialang'
const { ConcordiaConfig } = require('concordialang')
TypeScript type import, not a runtime value.

Install concordialang and a plugin, create a feature file, then compile and run tests.

// Install the compiler and a plugin npm install concordialang npm install concordialang-plugin-codeceptjs // Create a feature file 'hello.feature' // Feature: Hello // Scenario: Say hello // Given I have a browser // When I go to "about:blank" // Then I see the page title is "" // Compile and run npx concordia compile hello.feature --plugin=codeceptjs --runner=webdriverio
concordialang --version
Debug
Known issues
breakingPlugin structure changed in v2.0.0-alpha.19, breaking compatibility with older plugins.
fix
Update plugins to new structure; see concordialang-fake-plugin for example.
affects: >=2.0.0-alpha.19
breakingESM-only since v2.0.0-alpha.14; CommonJS require() not supported.
fix
Use ES import syntax: import { compile } from 'concordialang'
affects: >=2.0.0-alpha.14
deprecated--init option behavior changed; now creates output directory.
fix
Review generated folder structure; output dir is now automatically created.
affects: >=2.0.0-alpha.16
deprecatedVersion 2.0.0-alpha.20 is alpha; APIs unstable.
fix
Pin exact version in package.json and test thoroughly.
affects: >=2.0.0-alpha.1
gotchaPlugin version must match Concordia major version; v2 plugins incompatible with v1.
fix
Use plugins marked for Concordia 2.
affects: >=2.0.0-alpha.1
Errors
Common errors & fixes
Error: Cannot find module 'commander'
Missing commander dependency, or incorrect install.
fix
Run 'npm install concordialang' which includes commander as a dependency.
SyntaxError: Unexpected token 'export'
Using require() on an ESM-only package.
fix
Use ES import syntax, or switch to CJS build if available.
Plugin 'concordialang-plugin-codeceptjs' not found.
Plugin not installed or name misspelled.
fix
Install plugin: npm install concordialang-plugin-codeceptjs
Upgrade
Version history
2.0.0-alpha.20latest on npm
Audit
Dependencies
commanderrequiredUsed for CLI command parsing
Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
concordialang — npm install concordialang · libregistry