Yêu cầu chức năng
Sơ đồ ca sử dụng:
Feature:
Feature: add a member
As a admin
I want add a member
So that I can see this member in member list
Scenario: add a member
Given I see member list
When I click "Thêm thành viên"
Then I see add member form
I fill in form
Then I see this member in member list
Feature: Delete member
As a admin
I want delete 'Eric'
So that 'Eric' deleted
Scenario: Delete a member
Given I see member list
When I tick checkbox 'Eric'
And I click delete button
Then I don't see 'Eric' in member list
Feature: add a question
As a admin
I want add a question
So that I can see this question in question list
Scenario: add a question
Given I see add question form
When I fill in form
Then I see this question in question list
Feature: Edit a question
As a admin
I want edit a question
So that this question edited
Scenario: Edit a question
Given I see question list
And I click edit button of a question
Then I see edit form
And I fill in form
And I click Edit button
Then I see this question edited
Feature: Delete question
As a admin
I want delete a question
So that this question deleted
Scenario: Delete a question
Given I see question list
When I click delete button
Then I don't see this question in list question
Feature: add a subject
As a admin
I want add a subject
So that I can see this question in subject list
Scenario: add a subject
Given I see add subject form
When I fill in form
Then I see this subject in subject list
Feature: Edit a subject
As a admin
I want edit a subject
So that this subject edited
Scenario: Edit a subject
Given I see subject list
And I click edit button of a subject
Then I see edit form
And I fill in form
And I click Edit button
Then I see this subject edited
Feature: Delete subject
As a admin
I want delete a subject
So that this subject deleted
Scenario: Delete a subject
Given I see subject list
When I click delete button
Then I don't see this subject in list subject
Feature: add a test
As a admin
I want add a test
So that I can see this test in test list
Scenario: add a test
Given I see add test form
When I fill in form
Then I see this test in test list
Feature: Edit a test
As a admin
I want edit a test
So that this test edited
Scenario: Edit a test
Given I see test list
And I click edit button of a test
Then I see edit form
And I fill in form
And I click Edit button
Then I see this test edited
Feature: Delete test
As a admin
I want delete a test
So that this test deleted
Scenario: Delete a test
Given I see test list
When I click delete button
Then I don't see this test in list test
Feature: examation
As a member
I want to exam
So that I can see question list of exam
Scenario: examation
Given I sees exam list
When I click a examation
Then I see question list of this examation
And I do this examation
And I click 'Nộp bài chấm điểm' button
Then I see result page