BerryCrush IntelliJ Plugin Documentation¶
Welcome to the BerryCrush IntelliJ Plugin documentation. This plugin provides comprehensive IDE support for writing and running BerryCrush BDD tests.
Quick Start¶
- Installation - How to install the plugin
- Getting Started - Your first BerryCrush scenario
Features¶
- Syntax Highlighting - File types and color coding
- Navigation - Go to Definition, Find Usages
- Refactoring - Rename, Safe Delete
- Inspections - Code analysis and error detection
- Quick Fixes - One-click fixes for common issues
- Test Runner - Running BerryCrush tests
- OpenAPI Integration - Working with OpenAPI specs
Configuration¶
- Plugin Settings - Customizing the plugin
For Developers¶
- Architecture - Plugin structure overview
- PSI Structure - Understanding the PSI tree
- Contributing - How to contribute
- Development Setup - Building from source
What is BerryCrush?¶
BerryCrush is an OpenAPI-driven BDD testing framework that allows you to write human-readable test scenarios that directly execute against your API specifications.
scenario: Create new user
given I create a new user
call ^createUser
body: {"name": "John", "email": "john@example.com"}
assert status 201
extract $.id => userId
when I retrieve the user
call ^getUser
id: {{userId}}
assert status 200
assert $.name equals "John"
Supported File Types¶
| Extension | Description |
|---|---|
.scenario |
Test scenario files containing scenarios and steps |
.fragment |
Reusable step fragments that can be included in scenarios |
Support¶
- GitHub Issues - Report bugs and request features
- BerryCrush Documentation - Full framework documentation