Main Page: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Undo revision 101294 by Xpan (talk))
(Undo revision 101287 by Xpan (talk))
Line 10: Line 10:
*assignment name
*assignment name
<pre>
<pre>
    it "can set assginment name" do
 
      login_as("instructor6")
      visit '/assignments/new?private=0'
      expect(page).to have_content "Assignment name"
      fill_in "Assignment name:", with: 'assignment for test'
      click_button "Create"
      expect(Assignment.where(name: "assignment for test")).to exist
    end
</pre>
*course
<pre>
    it "can select course" do
      login_as("instructor6")
      visit '/assignments/new?private=0'
      select('5', :from => 'assignment_form_assignment_course_id')
      click_button "Create"
    end
</pre>
</pre>
=="Topics" tab function==
=="Topics" tab function==



Revision as of 02:55, 24 March 2016

Functional tests for assignment creation function

  • "General" tab function,
  • "Topics" tab function,
  • "Rubrics" tab function,
  • "Due dates" tab function,

"General" tab function

In this section, the functional test includes assignment name, course, submission directory, description URL, "Has team?", "Has quiz?" and "Calibrated peer-review for training".

  • assignment name

"Topics" tab function

"Rubrics" tab function

"Due dates" tab function