2.1 Yêu cầu chức năng

Ứng dụng cung cấp chức năng thi thử trực tuyến, 4 phần ôn thi chứa các câu hỏi khi thi bằng lái xe A1, các mẹo thi và form đăng kí làm hồ sơ trực tuyến.

2.1.1 Thiết kế ca sử dụng


Hình dưới đây mô tả ca sử dụng cho ứng dụng, mục tiếp theo sẽ phân tích và làm rõ ca sử dụng này.

                    Hình 2.1.1-Sơ đồ ca sử dụng

2.1.2 Các features, scenarios

  • Kịch bản trang Thi thử trực tuyến
Feature: Test online
    In order to test my self
    As an user
    I want to do the test

  Scenario: Choose the test
      Given List of test includes "De so 1", "De so 2", "De so 3", "De so 4", "De so 5", "De so 6"
      When I click "De so 1"
      Then I see the first question of "De so 1" 
      When I click "De so 6"
      Then I see the first question of "De so 6"

  Scenario: Choose the question
        Given a table of numbers of questions
      When I click the box with number 2
      Then I see the 2nd question

  Scenario: Do the test
      Given A question
      When I click some answers 
          And Click "next" button
      Then I see the next question

  Scenario: Finish my test
          When I click the "nop bai" button
          Then I see the number of my right answers per 20
  • Kịch bản trang Ôn tập
Feature: Revision
    In order to improve my knowledge 
    As an user
    I want to read the documents about the test

  Scenario: Read the documents 
      Given A list includes "Phan sa hinh", "Phan bien bao", "Phan ly thuyet", "Phan thuc hanh"
      When I click "Phan sa hinh"
      Then I see the picture of situation
      When I click "Phan bien bao"
      Then I see the signs and their meanings
      When I click "Phan ly thuyet"
      Then I see the traffic rules
      When I click "Phan thuc hanh"
      Then I see the video of the pratise test
  • Kịch bản trang Đăng kí hồ sơ trực tuyến
Feature: Register
    In order to save time
    As an user
    I want to send my information to admin

  Scenario: Unsuccessful register
      Given a form to fill in my information
      When there are some blank box
      And I click the "Dang ky" button
      Then I see the notice under each blank box "Ban chua dien thong tin"
      When some information was used before 
      And I click the "Dang ky" button
      Then I sê the notice under each box "Thong tin da duoc su dung"

  Scenario: Successful register
      Given a form to fill in my information
      When all boxes are filled in
      And I click "Dang ky" button
      Then I see the "Dang ky thanh cong" notice alert

results matching ""

    No results matching ""