Manual Functional Testing
Manual testing is a great way to help out MediaGoblin when we're preparing for a new release. It can also help you get familiar with how MediaGoblin works and what it's all about. That is where this functional test suite comes in. Completing the tests from this suite can help us to know that our existing functionality is intact and the perspective of the new testers can help identify potential issues where ones had not previously been identified.
Test template
All the test cases share the following format. If you come up with a new test case to add please use this format.
Test Title
Prerequisites: (This is what a test needs before it runs.) Ex - Image plug-in enabled. Activated user account. An image available for upload
Regression: (Yes if the functionality existed in the previous release otherwise it is set to no. All test cases should eventually be regression tests.) Ex - Yes
Steps: (These don't need to be exactly step-by-step but rather more general) Ex -
- Login to MediaGoblin
- Click on the Add Media button
- Select an image.
- Give it a title, description, and appropriate tags. Select a license.
- Press submit
Expected results: (This should be more specific than the steps.) Ex -
- A message telling you the item was submitted.
- The uploaded item has all of the information from step 4 (title, description, tags, license) and the image from step 3 displayed correctly when clicked on.
Copyable format
==== Title ==== '''Prerequisites:''' '''Regression:''' '''Steps:''' # # '''Expected results:''' * *
Test suite
Core
Media types
Images
Prerequisites: Activated user account. Image plug-in enabled.
Regression: Yes
Steps:
- Login to MediaGoblin
- Click on the Add Media button
- Select your image file.
- Give your media item a title, description, and appropriate tags. Select a license.
- Press submit
Expected results:
- A message telling you the item was submitted.
- The uploaded item has all of the information from step 4 (title, description, tags, license) and the image from step 3 displayed correctly when clicked on.
WebM Video
Prerequisites: Activated user account. Video plug-in enabled. WebM VP8/Vorbis video available for upload.
Regression: Yes
Steps:
- Login to Mediagoblin
- Click on the Add Media button
- Select your WebM video file
- Give your media item a title, description, and appropriate tags. Select a license.
- Press submit
Expected results:
- A message telling you the item was submitted.
- The uploaded item has all of the information from step 4 (title, description, tags, license) and the image from step 3 displayed correctly when clicked on.
- The video should not have been transcoded.
Other Video
Prerequisites: Activated user account. Video plug-in enabled. Video available for upload (not WebM format)
Regression: Yes
Steps:
- Login to Mediagoblin
- Click on the Add Media button
- Select your video file
- Give your media item a title, description, and appropriate tags. Select a license.
- Press submit
Expected results:
- A message telling you the item was submitted.
- The uploaded item has all of the information from step 4 (title, description, tags, license) and the image from step 3 displayed correctly when clicked on.
- The video should have been transcoded to WebM
Ogg Audio
Prerequisites: Activated user account. Audio plug-in enabled. Ogg/Vorbis audio file available for upload.
Regression: Yes
Steps:
- Login to Mediagoblin
- Click on the Add Media button
- Select your Ogg/Vorbis audio file
- Give your media item a title, description, and appropriate tags. Select a license.
- Press submit
Expected results:
- A message telling you the item was submitted.
- The uploaded item has all of the information from step 4 (title, description, tags, license) and the image from step 3 displayed correctly when clicked on.
- The audio file should not have been transcoded.
Other Audio
Prerequisites: Activated user account. Audio plug-in enabled. Audio file available for upload (not Ogg/Vorbis format)
Regression: Yes
Steps:
- Login to Mediagoblin
- Click on the Add Media button
- Select your audio file
- Give your media item a title, description, and appropriate tags. Select a license.
- Press submit
Expected results:
- A message telling you the item was submitted.
- The uploaded item has all of the information from step 4 (title, description, tags, license) and the image from step 3 displayed correctly when clicked on.
- The audio file should have been transcoded to Ogg/Vorbis.
Reporting bugs from this test suite
See: File Bugs
Any bugs you find with this test suite should be reported at http://issues.mediagoblin.org.
In addition to following the existing issues guidelines make sure to include the word "testsuite" as a keyword on your bug report. This also will help with the search process since you can search using the keyword "testsuite" to see if your specific issue has already been reported. If it has and you have additional information to provide, leave a comment on the ticket.
You can copy-and-paste the test steps to include with the bug report to make things easier to debug.