Skip to content
Snippets Groups Projects
Commit 4b033c3c authored by William Billingsley's avatar William Billingsley
Browse files

A few last tidy-ups in the instructions

parent 0524721c
No related branches found
No related tags found
No related merge requests found
...@@ -23,8 +23,7 @@ Remember, your task *isn't* just to fix the bugs. ...@@ -23,8 +23,7 @@ Remember, your task *isn't* just to fix the bugs.
Your tasks: Your tasks:
1. Create a repository on gitlab.une.edu.au and push this code to it **entirely unmodified**. 1. Create a repository on gitlab.une.edu.au and push the main branch of this repository to it **entirely unmodified**.
It will be on a branch called 'main'
**You will need to set the visibility on your repository so that the marker can read from it**. **You will need to set the visibility on your repository so that the marker can read from it**.
Repositories we cannot access cannot be marked (and will receive 0 until you can fix it) Repositories we cannot access cannot be marked (and will receive 0 until you can fix it)
...@@ -34,10 +33,11 @@ Your tasks: ...@@ -34,10 +33,11 @@ Your tasks:
Commit this change and push it to your **main** branch. Commit this change and push it to your **main** branch.
3. Create an Issue in your GitLab project for fixing the errors in the assignment. 3. Create an Issue in your GitLab project for fixing the errors in the assignment.
4. Create and check out a branch for your bugfix. 4. Create and check out a branch for your bugfix.
This should follow the convention of having the issue number, followed by a hyphenated description of the issue. This should follow the convention of having the issue number, followed by a hyphenated description of the issue.
e.g. `1-fix-assignment-errors`. e.g. `1-fix-assignment-errors`.
Push this branch to the remote repository. (From here on, I'll refer to this as your "issue branch") Push this branch to your remote repository. (From here on, I'll refer to this as your "issue branch")
5. Create **unit tests** that will detect the errors in the code. Particularly: 5. Create **unit tests** that will detect the errors in the code. Particularly:
* That the algorithm for testing whether a box is complete is wrong. * That the algorithm for testing whether a box is complete is wrong.
...@@ -45,8 +45,9 @@ Your tasks: ...@@ -45,8 +45,9 @@ Your tasks:
6. Commit these unit tests with an appropriately descriptive commit message. 6. Commit these unit tests with an appropriately descriptive commit message.
**Do not fix the bugs in this commit. The unit tests should *fail*.** **Do not fix the bugs in this commit. The unit tests should *fail*.**
Push this commit to your remote repository (on your issue branch)
7. **Tag** this commit, with the label `testsfail` 7. **Tag** this commit, with the label `testsfail`. Push this tag to your remote repository.
8. Fix the bugs in the code. Run your unit tests again. The tests should now pass. 8. Fix the bugs in the code. Run your unit tests again. The tests should now pass.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment