MDL-39586 behat: Closed list of stackeholders

This commit is contained in:
David Monllao
2013-05-09 18:38:13 +08:00
parent 1fb9715721
commit 5d7b6307b1
66 changed files with 68 additions and 65 deletions
@@ -1,7 +1,7 @@
@core @core_admin
Feature: Display extended course names
In order to display more info about the courses
As a moodle admin
As an admin
I need to display courses short names along with courses full names
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_admin
Feature: An administrator can filter user accounts by role, cohort and other profile fields
In order to find the user accounts I am looking for
As a moodle admin
As an admin
I need to filter the users account list using different filter
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_admin @_only_local
Feature: Upload users
In order to add users to the system
As a moodle admin
As an admin
I need to upload files containing the users data
@javascript
@@ -1,7 +1,7 @@
@tool @tool_behat
Feature: Set up contextual data for tests
In order to write tests quickly
As a moodle developer
As a developer
I need to fill the database with fixtures
Scenario: Add a bunch of users
@@ -1,7 +1,7 @@
@tool @tool_behat
Feature: Edit capabilities
In order to extend and restrict moodle features
As an admin or teacher
As an admin or a teacher
I need to allow/deny the existing capabilities at different levels
Background:
@@ -1,7 +1,7 @@
@tool @tool_behat
Feature: Set up the testing environment
In order to execute automated acceptance tests
As a moodle developer
As a developer
I need to use the test environment instead of the regular environment
Scenario: Accessing the site
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_auth
Feature: Authentication
In order to validate my credentials in the system
As a moodle user
As a user
I need to log into the system
Scenario: Login with the predefined admin user
@@ -1,7 +1,7 @@
@core @core_backup
Feature: Backup Moodle courses
In order to save and store course contents
As a moodle admin
As an admin
I need to create backups of courses
Background:
@@ -1,7 +1,7 @@
@core @core_backup
Feature: Duplicate activities
In order to set up my course contents quickly
As a moodle teacher
As a teacher
I need to duplicate activities inside the same course
@javascript
@@ -1,7 +1,7 @@
@core @core_backup
Feature: Import course's contents into another course
In order to move and copy contents between courses
As a moodle teacher
As a teacher
I need to import a course contents into another course selecting what I want to import
@javascript
@@ -1,7 +1,7 @@
@core @core_backup
Feature: Restore Moodle 2 course backups
In order to continue using my stored course contents
As a moodle teacher and as a moodle admin
As a teacher and an admin
I need to restore them inside other Moodle courses or in new courses
Background:
@@ -1,7 +1,7 @@
@block @block_comments
Feature: Add a comment to the comments block
In order to comment on a conversation or a topic
As a moodle user
As a user
In need to add comments to courses
Background:
@@ -1,7 +1,7 @@
@block @block_comments
Feature: Delete comment block messages
In order to refine comment block's contents
As a moodle teacher
As a teacher
In need to delete comments from courses
@javascript
@@ -1,7 +1,7 @@
@core @core_block
Feature: Add and configure blocks throughout the site
In order to maintain some patterns across all the site
As a moodle manager
As a manager
I need to set and configure blocks throughout the site
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_blog
Feature: Comment on a blog entry
In order to respond to a blog post
As a moodle user
As a user
I need to be able to comment on a blog entry
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_cohort
Feature: Add cohorts of users
In order to create site-wide groups
As a moodle admin
As an admin
I need to create cohorts and add users on them
Background:
@@ -1,7 +1,7 @@
@core @core_cohort @_only_local
Feature: Upload users to a cohort
In order to quickly fill site-wide groups with users
As a moodle admin
As an admin
I need to upload a file with users data containing cohort assigns
@javascript
@@ -1,7 +1,7 @@
@core @core_completion
Feature: Allow students to manually mark an activity as complete
In order to let students decide when an activity is completed
As a moodle teacher
As a teacher
I need to allow students to mark activities as completed
@javascript
@@ -1,7 +1,7 @@
@core @core_completion
Feature: Restrict sections availability through completion conditions
In order to control section's contents access through activities completion
As a moodle teacher
As a teacher
I need to restrict sections availability using different conditions
@javascript
@@ -1,7 +1,7 @@
@core @core_course @_cross_browser
Feature: Toggle activities groups mode from the course page
In order to split activities in groups
As a moodle teacher
As a teacher
I need to change quickly the group mode of an activity
@javascript
@@ -1,7 +1,7 @@
@core @core_course @_cross_browser
Feature: Indent items on the course page
In order to create a structured view of activities
As a moodle teacher
As a teacher
I need to move activities and resources to left and right
@javascript
@@ -1,7 +1,7 @@
@core @core_course @_cross_browser
Feature: Toggle activities visibility from the course page
In order to delay activities availability
As a moodle teacher
As a teacher
I need to quickly change the visibility of an activity
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_course
Feature: Edit course settings
In order to set the course according to my teaching needs
As a moodle teacher
As a teacher
I need to edit the course settings
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_course @_cross_browser
Feature: Force group mode in a course
In order to use the same group mode all over the course
As a moodle teacher
As a teacher
I need to force the group mode of all course's activities
Background:
@@ -1,7 +1,7 @@
@core @core_course
Feature: The maximum number of weeks/topics in a course can be configured
In order to set boundaries to courses size
As a moodle manager
As a manager
I need to limit the number of weeks/topics a course can have
Background:
@@ -1,7 +1,7 @@
@core @core_course
Feature: Course paged mode
In order to split the course in parts
As a moodle teacher
As a teacher
I need to display the course in a paged mode and navigate through the different sections
@javascript @_cross_browser
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_course
Feature: Rename roles within a course
In order to set course roles names according to their responsabilities
As a moodle teacher
As a teacher
I need to edit the course role names
@javascript
@@ -1,7 +1,7 @@
@core @core_course
Feature: Restrict activities availability
In order to prevent the use of some activities
As a moodle admin
As an admin
I need to control which activities can be used in courses
Background:
@@ -1,7 +1,7 @@
@core @core_course @_cross_browser
Feature: Show/hide course sections
In order to delay sections availability
As a moodle teacher
As a teacher
I need to show or hide sections
@javascript
@@ -1,7 +1,7 @@
@enrol @enrol_self
Feature: Users can auto-enrol themself in courses where self enrolment is allowed
In order to participate in courses
As a moodle user
As a user
I need to auto enrol me in courses
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_group
Feature: Organize students into groups
In order to organize course activities in groups
As a moodle teacher
As a teacher
I need to group students
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_group
Feature: Uniqueness of Group ID number
In order to create unique groups and groupings
As a moodle teacher
As a teacher
I need to create groups with unique identificators
Background:
@@ -1,7 +1,7 @@
@editor @editor_tinymce
Feature: Add or remove items from the TinyMCE editor toolbar
In order to customize the TinyMCE editor appearance
As a moodle admin
As an admin
I need to add and remove items from the toolbar
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_message
Feature: Block users from contacting me
In order to block other users
As a moodle user
As a user
I need to prevent specific users to sending me messages
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_message
Feature: Manage contacts
In order to easily access the users I interact more with
As a moodle user
As a user
I need to add and remove users to/from my contacts list
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_message
Feature: Users can search their message history
In order to read old messages
As a moodle user
As a user
I need to search in my messages history
Background:
@@ -1,7 +1,7 @@
@mod @mod_assign @_only_local
Feature: In an assignment, students can upload files for assessment
In order to complete my assignments providing files
As a moodle student
As a student
I need to upload files from my file system to be assessed
@javascript
@@ -1,7 +1,7 @@
@mod @mod_assign
Feature: Group assignment submissions
In order to allow students to work collaboratively on an assignment
As a moodle teacher
As a teacher
I need to group submissions in groups
@javascript
@@ -1,7 +1,7 @@
@mod @mod_assign
Feature: Prevent or allow assignment submission changes
In order to control when a student can change his/her submission
As a moodle teacher
As a teacher
I need to prevent or allow student submission at any time
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@mod @mod_choice
Feature: Add choice activity
In order to ask questions as a choice of multiple responses
As a moodle teacher
As a teacher
I need to add choice activities to courses
@javascript
@@ -1,7 +1,7 @@
@mod @mod_choice
Feature: A teacher can choose one of 4 options for publishing choice results
In order to display choice activities outcomes
As a moodle teacher
As a teacher
I need to publish the choice activity results in different ways
Background:
@@ -1,7 +1,7 @@
@mod @mod_choice
Feature: A teacher can choose whether to publish choice activity results anonymously or showing names
In order to keep students privacy or to give more info to students
As a moodle teacher
As a teacher
I need to select whether I want other students to know who selected what option
Background:
+1 -1
View File
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: Add forum activities and discussions
In order to discuss topics with other users
As a moodle teacher
As a teacher
I need to add forum activities to moodle courses
@javascript
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: Set a certain number of discussions as a completion condition for a forum
In order to ensure students are participating on forums
As a moodle teacher
As a teacher
I need to set a minimum number of discussions to mark the forum activity as completed
@javascript
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: Students can choose from 4 discussion display options and their choice is remembered
In order to read forum posts in a suitable view
As a moodle user
As a user
I need to select which display method I want to use
Background:
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: Students can edit or delete their forum posts within a set time limit
In order to refine forum posts
As a moodle user
As a user
I need to edit or delete my forum posts within a certain period of time after posting
Background:
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: Teachers can edit or delete any forum post
In order to refine the forum contents
As a moodle teacher
As a teacher
I need to edit or delete any user's forum posts
Background:
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: Single simple forum discussion type
In order to restrict the discussion topic to one
As a moodle teacher
As a teacher
I need to create a forum with a single simple discussion
Background:
@@ -1,7 +1,7 @@
@mod @mod_forum
Feature: A teacher can set one of 3 possible options for tracking read forum posts
In order to ease the forum posts follow up
As a moodle user
As a user
I need to distinct the unread posts from the read ones
Background:
@@ -1,7 +1,7 @@
@mod @mod_glossary
Feature: A teacher can set whether glossary entries are always editable or not
In order to ensure students think before adding new entries
As a moodle teacher
As a teacher
I need to prevent entries to be always editable
@javascript
@@ -1,7 +1,7 @@
@mod @mod_glossary
Feature: A teacher can choose whether to allow duplicate entries in a glossary
In order to avoid confusion
As a moodle teacher
As a teacher
I need to avoid having duplicate concept definitions
@javascript
@@ -1,7 +1,7 @@
@mod @mod_glossary
Feature: A teacher can choose whether to provide a printer-friendly glossary entries list
In order to print glossaries easily
As a moodle user
As a user
I need to provide users a different view to print the glossary contents
Background:
@@ -1,7 +1,7 @@
@mod @mod_glossary
Feature: Glossary entries can be searched or browsed by alphabet, category, date or author
In order to find entries in a glossary
As a moodle user
As a user
I need to search the entries list by keyword, alphabet, category, date and author
Background:
@@ -1,7 +1,7 @@
@mod @mod_lesson
Feature: A teacher can set available from and deadline dates to access a lesson
In order to schedule lesson activities
As a moodle teacher
As a teacher
I need to set available from and deadline dates
Background:
@@ -1,7 +1,7 @@
@mod @mod_lesson
Feature: A teacher can password protect a lesson
In order to avoid undesired accesses to lesson activities
As a moodle teacher
As a teacher
I need to set a password to access the lesson
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@mod @mod_lesson
Feature: A teacher can set a time limit for a lesson
In order to restrict the time students have to complete a lesson
As a moodle teacher
As a teacher
I need to set a time limit
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@mod @mod_survey
Feature: A teacher can set three types of survey activity
In order to use verified survey instruments
As a moodle teacher
As a teacher
I need to set survey activities and select which survey type suits my needs
Scenario: Switching between the three survey types
+1 -1
View File
@@ -1,7 +1,7 @@
@mod @mod_wiki
Feature: A history of each wiki page is available
In order to know how a wiki page evolved over the time and how changed what
As a moodle user
As a user
I need to check the history of a wiki page
@javascript
@@ -1,5 +1,8 @@
@mod @mod_wiki
Feature: Edited wiki pages may be previewed before saving
In order to avoid silly mistakes
As a user
I need to preview pages before saving changes
Background:
Given the following "users" exists:
+1 -1
View File
@@ -1,7 +1,7 @@
@mod @mod_wiki
Feature: There is a choice of formats for editing a wiki page
In order to allow users to use their favorite wiki format
As a moodle user
As a user
I need to choose which wiki format do I want to use
Background:
@@ -1,7 +1,7 @@
@repository @repository_recent @_only_local
Feature: Recent files repository lists the recently used files
In order to save time when selecting files
As a moodle user
As a user
I need to use again the files I've just used
@javascript
@@ -1,7 +1,7 @@
@core @core_filepicker @_only_local
Feature: A selected file can be cancelled
In order to refine the file manager contents
As a moodle user
As a user
I need to cancel a selected file
@javascript
@@ -1,7 +1,7 @@
@core @core_filepicker
Feature: Create folders in the file manager
In order to create a directory structure in a file area
As a moodle user
As a user
I need to create folders and subfolders in a file area
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_filepicker @_only_local
Feature: Delete files and folders from the file manager
In order to clean the file manager contents
As a moodle user
As a user
I need to delete files from file areas
@javascript
+1 -1
View File
@@ -1,7 +1,7 @@
@core @core_filepicker
Feature: Zip folders and unzip compressed files
In order to download or add contents to file areas easily
As a moodle user
As a user
I need to zip and unzip folders and files
@javascript
@@ -1,7 +1,7 @@
@repository @repository_upload @_only_local
Feature: Upload files
In order to add contents
As a moodle user
As a user
I need to upload files
@javascript