https://github.com/zipcodecore/controlschecker.maven
https://github.com/zipcodecore/controlschecker.maven
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zipcodecore/controlschecker.maven
- Owner: ZipCodeCore
- License: mpl-2.0
- Created: 2021-05-19T14:55:01.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-21T15:52:33.000Z (over 4 years ago)
- Last Synced: 2025-01-08T12:41:30.259Z (12 months ago)
- Language: Java
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Control Checker
* **Objective**
* To create a product which simulates a control sensor for thermostats, fireplaces, and rocket engines.
* **Purpose**
* To gain familiarity the conditional operators.
* **Description**
* This application has been provisioned with JUnit tests and boilerplate classes, and method stubs.
* Complete the method-stub implementation to achieve 100% test-pass rate.
* Click [here to view the javadocs](https://zipcoder.github.io/controlschecker.maven/docs/index.html)
## How to Download
### Part 1 - Forking the Project
* To _fork_ the project, click the `Fork` button located at the top right of the project.
### Part 2 - Navigating to _forked_ Repository
* Navigate to your github profile to find the _newly forked repository_.
* Copy the URL of the project to the clipboard.
### Part 3 - Cloning _forked_ repository
* Clone the repository from **your account** into the `~/dev` directory.
* if you do not have a `~/dev` directory, make one by executing the following command:
* `mkdir ~/dev`
* navigate to the `~/dev` directory by executing the following command:
* `cd ~/dev`
* clone the project by executing the following command:
* `git clone https://github.com/MYUSERNAME/NAMEOFPROJECT`
### Part 4 - Check Build
* Ensure that the tests run upon opening the project.
* You should see `Tests Failed: ${number-of-tests} of ${number-of-tests} tests`
* Execute the command below to run `JUnit` tests from the command line.
* `mvn package -Dmaven.test.failure.ignore=true`
## How to Submit
### Part 1 - _Pushing_ local changes to remote repository
* from a _terminal_ navigate to the root directory of the _cloned_ project.
* from the root directory of the project, execute the following commands:
* add all changes
* `git add .`
* commit changes to be pushed
* `git commit -m 'I have added changes'`
* push changes to your repository
* `git push -u origin main`
### Part 2 - Submitting assignment
* from the browser, navigate to the _forked_ project from **your** github account.
* click the `Pull Requests` tab.
* select `New Pull Request`