- Sign in to GitHub (create an account if neccesary)
- Fork this repository to your own account.
- Clone the project on your development machine (git clone https://github.com/YourAccountNameHere/Workshop-EatSleepCodeRepeat.git)
- Open the solution in Visual Studio (The solution should compile without errors)
-
Go to the website of AppVeyor and log in with your GitHub account.
-
Add the Workshop-EatSleepCodeRepeat project.
-
The project should start building without any further configuration --> The build will fail due to a failing unit test.
-
Go to Visual Studio and implement the missing functionality in the Calculator class and make the unit test pass.
-
Commit your local changes (git add *, git commit -m "your comment here").
-
Push the changes to your Github repository (git push).
-
The AppVeyor CI should queue a build for the new commit that now succeeds.
-
Optional: Add the Appveyor Badge to this README.MD file.
- Go to BetterCodeHub.com and log in with your GitHub account.
- Run and analyze the Workshop-EatSleepCodeRepeat repository with BetterCodeHub.
- Refactor the code in Visual Studio Lab2 to comply with the first three guidelines.
- Commit and push your changes to GitHub after refactoring
- Run the analysis in BetterCodeHub.com --> The project should now comply to 9 of the 10 guidelines.
- Send a pull request with your version of the refactoring
Similar to Lab 2:
- Refactor the code in Lab3 to comply with the last guideline.
- Don't forget to send a pull request.
Fork one of the available open-source projects to your own GitHub account:
- Netflix Fido
- codemaid
- ShareX
- GitHub Scientist.NET
- Optional: Fork your own favourite open-source project.
Go to BetterCodeHub.com and analyze an open-source project. Compare the quality of different open source projects with respect to the guidelines. Look for potential refactoring candidates and investigate how much refactoring is neccesary to make the project comply to a guideline. Discuss the results with your peers.
Use the input from Lab 4 to refactor the code of an open-source system:
- Clone your forked repository to your local machine.
- Try to open the project in Visual Studio and compile the solution (this might take some effort to get things working)
- Make a small improvement to the code-base.
- Commit and push your change.
- Run the analysis on BetterCodeHub to learn how your change affected the adherance to the guidelines.
- Create a pull request (WARNING: Only create pull requests to the BetterCodeHub fork and not to real projects, otherwise we will not be able to track your change).