Main Page: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Undo revision 101297 by Xpan (talk))
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==Functional tests for assignment creation function==
==Expertiza==
* [[Expertiza documentation]]


*"General" tab function,
==Course-Specific Topics==
*"Topics" tab function,
*"Rubrics" tab function,
*"Due dates" tab function,


=="General" tab function==
* [[CSC/ECE 517 Summer 2008]]
In this section, the functional test includes assignment name, course, submission directory, description URL, "Has team?", "Has quiz?" and "Calibrated peer-review for training".
* [[CSC/ECE 517 Fall 2010]]
*assignment name
* [[CSC/ECE 517 Fall 2011]]
<pre>
* [[CSC/ECE 517 Fall 2012]]
    it "can set assginment name" do
* [[CSC/ECE 517 Fall 2013]]
      login_as("instructor6")
* [[CSC/ECE 517 Fall 2014]]
      visit '/assignments/new?private=0'
* [[CSC/ECE 517 Fall 2015]]
      expect(page).to have_content "Assignment name"
* [[CSC/ECE 517 Fall 2016]]
      fill_in "Assignment name:", with: 'assignment for test'
* [[CSC/ECE 517 Spring 2014]]
      click_button "Create"
* [[CSC/ECE 517 Spring 2015]]
      expect(Assignment.where(name: "assignment for test")).to exist
* [[CSC/ECE 517 Spring 2016]]
    end
* [[CSC 456 Spring 2011|CSC 456 Spring 2012]]
</pre>
* [[ECE 633]]
*course
* [[KCU]]
<pre>
* [[Progress reports]]
    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>
*submission directory
<pre>
    it "can set assginment Submission directory" do
      login_as("instructor6")
      visit '/assignments/new?private=0'
      fill_in "Assignment name:", with: 'assignment for test 2'
      expect(page).to have_content "Submission directory"
      fill_in "Submission directory:", with: 'Submission directory for test'
      click_button "Create"
      expect(Assignment.find(2).directory_path).to eq 'Submission directory for test'
    end
</pre>
*description URL
<pre>
    it "can set assginment Description URL" do
      login_as("instructor6")
      visit '/assignments/new?private=0'
      fill_in "Assignment name:", with: 'assignment for test 3'
      expect(page).to have_content "Description URL"
      fill_in "Description URL:", with: 'Description URL for test'
      click_button "Create"
      expect(Assignment.find(2).spec_location).to eq 'Description URL for test'
    end
</pre>
*"Has team?"
<pre>
    it "can Has teams and set team number" do
      login_as("instructor6")
      visit '/assignments/new?private=0'
      fill_in "Assignment name:", with: 'assignment for test 5'
      find('#team_assignment').set(true)
      expect(page).to have_content "Maximum number of members per team"
      expect(page).to have_content "Show teammate reviews"
      fill_in 'assignment_form_assignment_max_team_size', with: 4
      find('#assignment_form_assignment_show_teammate_reviews').set(true)
      click_button "Create"
      expect(Assignment.find(2).show_teammate_reviews).to eq true
    end
</pre>
*"Has quiz?"
<pre>
    it "can save the number of quiz questions" do
      login_as("instructor6")
      visit '/assignments/new?private=0'
      fill_in "Assignment name:", with: '11'
      select('5', :from => 'assignment_form_assignment_course_id')
      find('#assignment_form_assignment_require_quiz').set(true)
      click_button "Create"
      visit '/assignments/2/edit'
      expect(page).to have_content "Number of Quiz questions"
    end
</pre>
*"Calibrated peer-review for training"
<pre>
    it "can set Calibrated peer-view for training" do
      login_as("instructor6")
      visit '/assignments/new?private=0'
      fill_in "Assignment name:", with: 'assignment for test 4'
      find('#assignment_form_assignment_is_calibrated').set(true)
      click_button "Create"
      expect(Assignment.find(2).is_calibrated).to eq true
    end
</pre>
=="Topics" tab function==


=="Rubrics" tab function==
==Application Behavior==
* [[Grading]]


=="Due dates" tab function==
==Metaprogramming==
* [[CSC/ECE_517_Spring_2013/ch1b_1k_hf|Lecture on Metaprogramming]]
 
==Development==
 
''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''
 
* [[Setting Up a Development Machine]]
* [[Creating a Linux Development Environment for Expertiza - Installation Guide]]
* [[Using git and github for projects]]
* [[Using heroku to deploy your projects]]
* [[How to Begin a Project from the Current Expertiza Repository]]
* [[Git]]
* [[How to Change a User's Password on a Development Machine]]
* [[Debugging Rails]]
 
==Production==
* [[Deploying to Production]]
* [[Downloading Production Data]]
* [[Accessing the Production Server]]
 
==Testing==
* [[Using Cucumber with Expertiza]]
* [[Rails Testing Overview]]
* [[Expertiza Continuous Integration]]
 
==References==
* [[Object-Oriented Design and Programming]]

Revision as of 19:28, 8 September 2016