MuDoc tests

From CCE wiki archived
Jump to: navigation, search

The fundamental test is an "end to end" test. Though the algorithmic paths through MuDoc are numerous, any end-to-end test includes the following basic steps:

  1. creating users
  2. uploading and submitting content
  3. peer review
  4. searching for submitted content
  5. locating content
  6. downloading content


  • users. I suggest you create different users for submission, keyword editor(s), keyword reviewer(s), and search. If you plan to create a submission with keyword X, then be sure that you create at least one editor and at least one reviewer responsible for keyword X. Remember that each editor and each reviewer is associated to one or more keywords; each editor or reviewer has an area of responsibility including the keyword assigned, plus all descendant keywords. So if you are editor of Africa, you're automatically editor for Ghana as well -- though the system will prefer to assign submission to the Ghana editor, if none is available they will come to the Africa editor.
  • uploading and submitting content. In the general case, a content submission is a hierarchy of nodes (like a folder hierarchy in Windows). Try creating a few levels, and populating each with assets. You can supply keywords and metadata for every node in the hierarchy, but bear in mind that the keywords for the top level node are those which will be used to guide the peer review process. Note that it is possible to make submissions non-downloadable or downloadable only for a fee. It's important to test all these possibilities.
  • peer review. There are many cases to try here. Editors or reviewers can refuse to accept to edit or review a submission, after which the system should pick another appropriate editor or reviewer. They can also "time out", when they do not respond to the request within the indicated time window. Reviewers can download the submission, return comments, vote to accept or reject. The editor can wait to receive these comments, and then make a final decision. Once a submission has been accepted, it is available for search.
  • Search, retrieval, and download of content. Try searching the system by keyword (try various keywords), or by metadata (try adding various metadata fields, and supply various search strings). See if content retrieved in one way can also be retrieved in the other. Make sure you can locate, retrieve, and download content you submitted, using the keywords and metadata you initially supplied.