AI-powered test automation that lets you write tests in plain English. No complex code required.
IntelliTest combines AI (OpenAI GPT) with test automation. Write your test assertions in natural language, and AI validates them for you.
Example:
When I GET "https://api.example.com/users/1" Then response should be "Status code is 200" And response should be "Response contains user data"
No need to write complex validation code - just describe what you want to check.
- .NET 9 SDK
- OpenAI API Key
Clone and configure:
git clone https://github.com/aiqualitylab/IntelliTest.git
cd IntelliTestAdd your OpenAI API key to appsettings.json:
{
"Model": "gpt-4o-mini",
"ApiKey": "your-api-key-here",
"MaxTokens": 2000
}dotnet testTest APIs using natural language assertions:
Scenario: Validate user endpoint When I GET "https://jsonplaceholder.typicode.com/users/1" Then response should be "Status code is 200" And response should be "User has name and email"
Check web pages without writing selectors:
Scenario: Check Google homepage Given I open "https://www.google.com" Then page should have "Google logo present" And page should have "Search box visible"
Generate realistic test data with AI:
Scenario: Generate test user Given I generate a user for "registration test" Then generated user should have first name And generated user should have email
You can also create context-specific data:
Given I generate a user for "elderly customer over 65 years old" Given I generate a product for "luxury electronics"
IntelliTest/
βββ Core/
β βββ Services/AIService.cs # AI integration
β βββ Models/ # Data models
βββ Clients/
β βββ ApiClient.cs # API testing
β βββ WebClient.cs # Web testing
β βββ TestDataClient.cs # Data generation
βββ Tests/
βββ Features/ # Test scenarios (.feature files)
βββ StepDefinitions/ # Test implementations
Edit appsettings.json to configure:
{
"Model": "gpt-4o-mini", // AI model to use
"ApiKey": "", // Your OpenAI API key
"MaxTokens": 2000, // Max response length
"Temperature": 0.1 // 0=consistent, 1=creative
}IntelliTest uses:
- Semantic Kernel - Microsoft's AI orchestration framework
- OpenAI GPT-4o-mini - For understanding natural language
- Reqnroll - BDD framework for writing tests
- NUnit - Test runner
- Selenium - Web browser automation
When you write an assertion like "Status code is 200", the AI analyzes the actual response and validates it matches your expectation.
β Do:
- Keep assertions simple and focused
- Use clear, descriptive language
- One concept per assertion
β Don't:
- Make assertions too complex
- Mix multiple checks in one assertion
- Use vague descriptions
"401 Unauthorized" error
β Check your API key is correct in appsettings.json
"Model does not exist" error
β Verify your OpenAI account has access to the model
Tests are slow
β Normal - AI responses take 1-3 seconds per assertion
Built with Semantic Kernel, OpenAI, and Reqnroll