natural-qa
v1.0.1
Published
Automated QA in natural language
Maintainers
Readme
natural-qa
Markdown-Driven Browser QA Automation (Stagehand-Powered).
Install
npm install --save-dev natural-qaSetup
- Create
natural-qa.config.jsonin your project root:
{
"engine": "stagehand",
"llm": {
"provider": "openai",
"model": "gpt-4o",
"apiKeyEnv": "OPENAI_API_KEY"
}
}- Add your tests in
tests/folder as identifier.mdfiles.
Writing Tests
# Test: Login
## Given
I am on https://example.com
## When
I click the "Login" button
I fill "Email" with env.EMAIL
## Then
I should see "Welcome"Run
npx natural-qa run