Skip to content
0xsaifdevPublic

About

Case study of AI software testing framework.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

CortexAI: Case Study

Status: Under development (final year project)
Role: Project lead
Stack: Next.js · TypeScript · Node.js · QwenCoder 2.5b (fine-tuned) · LemonSqueezy

Problem

Writing and maintaining test cases by hand takes time, especially as an application changes. Developers need a way to generate tests from their code and review failures in one place.

Solution

An AI software testing framework designed to:

  • Use a fine-tuned model to generate test cases for your app
  • Run those test cases against your app to find bugs and issues
  • Provide a dashboard to view test results and logs

How it works

The intended workflow is:

  1. Create a project with a repository URL, language, and framework.
  2. Start an analysis from the project details page.
  3. Use the fine-tuned model to generate test cases from the repository's code.
  4. Run the generated tests against the application.
  5. Review test results, logs, and analysis sessions in the dashboard.

The current interface includes project creation, an analysis entry point, project configuration summaries, an overview dashboard, and account settings. The project remains under development; the screenshots show the interface rather than verified test-generation results or measured time savings.

Engineering challenges

The core challenges are generating tests that match each project's language and framework, checking that generated tests are useful and runnable, and executing them safely while capturing failures and logs. These are development priorities rather than completed outcomes.

Architecture

This diagram describes the intended architecture based on the project stack and testing workflow. This repository contains case-study documentation and screenshots, so deployment details and service boundaries are not verified here.

flowchart LR
    Developer["Developer"] --> Web["Next.js + TypeScript dashboard"]
    subgraph CortexAI["CortexAI testing workflow"]
        Web --> Backend["Node.js backend"]
        Backend --> Analysis["Repository analysis"]
        Analysis --> Model["Fine-tuned QwenCoder 2.5b"]
        Model --> Tests["Generated test cases"]
        Tests --> Runner["Test execution against application"]
        Runner --> Results["Results and logs"]
        Results --> Web
    end
    Repo["Application repository"] --> Analysis
    Web -.-> Billing["LemonSqueezy billing"]
Loading

Screenshots

Landing Page

The current landing page. Its copy describes broader LLM workflows and is not yet aligned with the testing focus of this case study.

Cortex AI landing page

Dashboard

Overview of test-generation activity, repository statuses, and summary metrics. Values shown are interface examples, not measured project outcomes.

Cortex AI dashboard with summary cards and recent repository activity

Create Project

Project setup with a name, repository URL, language, and framework.

Create a Cortex AI project

Project Details

Repository analysis entry point, test configuration summary, recent sessions, and project tech stack.

Cortex AI project details and Analyze Repo action

Settings

Profile information and account preferences, with a separate security tab.

Cortex AI account settings

Links

About

Case study of AI software testing framework.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages