Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I use this repository #2

Open
erelsgl opened this issue Feb 9, 2021 · 2 comments
Open

How do I use this repository #2

erelsgl opened this issue Feb 9, 2021 · 2 comments

Comments

@erelsgl
Copy link

erelsgl commented Feb 9, 2021

Sorry for the newbie question.. I am trying to make the first exercise in my Github Classroom course. I got here from the "Add autograding tests" tab in the exercise settings. What exactly do I do with this repository? Should I construct a similar repository, with all the tests needed for the auto-grading, and use it as the answer to the tab "Add a template repository to give students starter code" tab?
If not, then where exactly should I put the automatic tests that I write?

@erelsgl
Copy link
Author

erelsgl commented Feb 9, 2021

An additional question is: how is the grade calculated, from the results of the autograding? Is it just the percent of passing tests?

@MuhammadMoustafa
Copy link

Yes exactly, you need to provide a template folder when you create an assignment.
or ask each student to add these files, but this is unneeded hassle.
creating a template folder will give you the flexibility to add stub functions and ask your students ti fill it so they don't mess up the repo.

The bottom line here is that the files used by -Run command- exists.

For the second question:
when you add a test, There is a text box with label Points.
If you need grade each test separately, you may add multiple test files,
but make sure that you write the right command in "Run command" Text box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants