Giter VIP home page Giter VIP logo

cs2-lab0-hello-java's Introduction

Java CI with Maven

This build will always fail because it has two examples of failing tests: one based on the source code, and one based on an incorrect test. The status badge is here just to demonstrate continuous integration (CI) via GitHub Actions.

Loyola COMP 271 Lab 0

Individual project

Collaborate with your classmates on a conceptual level but do not share code. Submit individually.

Learning Objectives

  • Simple hello world example
  • Get started with Git source code management
  • Make sure you can access the course examples on GitHub
  • Verify that you have a working development environment
  • Make sure you can use your development environment to modify and update your projects on GitHub
  • Use the Maven command-line build tool for Java
  • Understand the basics of Test-Driven Development (TDD)
  • Use JUnit for automated unit testing in Java
  • Continuous integration with Travis

GitHub account creation and repository import

These are one-time steps:

  1. Create a GitHub account (if you do not have one already).

  2. Request the GitHub Student Developer Pack using your official Loyola email address (optional).

In this section, you will perform one or more iterations of the (more frequent) inner circle involving

Working on the project using GitHub Classroom

  1. Accept the GitHub Classroom invite provided to you in Sakai.

  2. Work on the project following this GitHub-based workflow except the "repository import" section, which GitHub Classroom already took care of:

    • edit the source code
    • compile the source code to executable code
    • test (or run) the executable code
    • frequently commit and push your local modifications to your remote GitHub Classroom repository

Submission

When your project is ready to grade, submit your complete GitHub Classroom repository URL including your GitHub userid on Sakai as an inline submission.

Grading criteria

Total 3.5 points:

  • (1 point) submission of your GitHub repo's URL via Sakai (your repo should still show original project commit history - this automatically happens when you import this repo)
  • (0.5 point) leave project structure intact
  • (1 point) fix or remove the erroneous test(s)
  • (1 point) make the other test(s) pass without modifying anything else in src/test

To clarify, your submitted repo must include at least one commit that you made and pushed up to the GitHub server.

cs2-lab0-hello-java's People

Contributors

ares09x avatar klaeufer avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cs2-lab0-hello-java's Issues

Update years

HelloWorld's getYear() function returns 2008, but the getYear() test (TestHelloWorld.java) expects the year to be 2009.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.