mirror of
https://github.com/jcreek/AutomatedAssessmentFeedbackAgent.git
synced 2026-07-12 18:43:49 +00:00
test(*): Add basic BDD tests
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
Feature: AI agentic feedback process
|
||||
|
||||
As a user
|
||||
I want to see the steps the AI agent takes to assess my submission
|
||||
So that I understand how feedback is generated
|
||||
|
||||
Scenario: View agentic progress during assessment
|
||||
Given I have submitted an assignment for assessment
|
||||
When the AI agent is processing my submission
|
||||
Then I should see a progress indicator with tool steps such as:
|
||||
| Step Description |
|
||||
| Assessing the submission against rubric |
|
||||
| Analyzing essay structure and argument |
|
||||
| Generating personalized feedback |
|
||||
| Creating self-reflection questions |
|
||||
| Checking spelling and grammar |
|
||||
And each step should show an icon and status
|
||||
@@ -0,0 +1,23 @@
|
||||
Feature: Assessment history management
|
||||
|
||||
As a teacher
|
||||
I want to view and manage the history of assessed submissions
|
||||
So that I can review or remove past feedback
|
||||
|
||||
Scenario: View assessment history
|
||||
Given I have previously submitted assessments
|
||||
When I visit the "Assessment Results" page
|
||||
Then I should see a table of past assessments with date, task, and grade
|
||||
And I should be able to expand an entry to see detailed feedback
|
||||
|
||||
@deleteAssessment
|
||||
Scenario: Delete an assessment from history
|
||||
Given I have previously submitted assessments
|
||||
When I delete an assessment from history
|
||||
Then that assessment should be removed from the history
|
||||
|
||||
@clearAssessment
|
||||
Scenario: Clear all assessment history
|
||||
Given I have previously submitted assessments
|
||||
When I clear all assessment history
|
||||
Then all assessments should be removed from the history
|
||||
@@ -0,0 +1,22 @@
|
||||
Feature: Student assessment submission and AI feedback
|
||||
|
||||
As a teacher
|
||||
I want to submit a student assignment for AI assessment
|
||||
So that I receive detailed, actionable feedback
|
||||
|
||||
Scenario: Submit a text assignment and receive AI feedback
|
||||
Given I am on the "Upload Student Submissions" page
|
||||
When I enter a task description
|
||||
And I enter a student submission
|
||||
And I submit the assessment form
|
||||
Then I should be redirected to the "Assessment Results" page
|
||||
And I should see the AI-generated grade
|
||||
And I should see strengths, areas for improvement, and individualized activity
|
||||
And I should see a reflection question and teacher suggestion
|
||||
And I should see spelling and grammar feedback
|
||||
And I should be able to expand to view AI reasoning
|
||||
|
||||
Scenario: Submit an invalid or empty submission
|
||||
Given I am on the "Upload Student Submissions" page
|
||||
When I leave the submission field empty
|
||||
Then the submit button should be disabled
|
||||
Reference in New Issue
Block a user