Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oclay1st/fizzbuzz
FizzBuzz assignment implementation
https://github.com/oclay1st/fizzbuzz
ci coverage docker java junit5
Last synced: 12 days ago
JSON representation
FizzBuzz assignment implementation
- Host: GitHub
- URL: https://github.com/oclay1st/fizzbuzz
- Owner: oclay1st
- License: gpl-3.0
- Created: 2020-12-16T15:57:17.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-16T20:31:33.000Z (about 4 years ago)
- Last Synced: 2024-11-20T06:12:03.260Z (2 months ago)
- Topics: ci, coverage, docker, java, junit5
- Language: Java
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/oclay1st/FizzBuzz.svg?branch=develop)](https://travis-ci.com/github/oclay1st/FizzBuzz)
[![codecov](https://codecov.io/gh/oclay1st/FizzBuzz/branch/develop/graph/badge.svg)](https://codecov.io/gh/oclay1st/FizzBuzz)# FizzBuzz
'Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”."
This project contains the code to solve the previous programming assignment
## Dependencies
Java SDK 1.8 or later and Maven 3.6## Execution
On Linux
```bash
mvn clean install
java -jar target/FizzBuzz-1.0-SNAPSHOT.jar
```
On Docker
```bash
docker build -t fizzbuzz:1.0 .
docker run --rm -it fizzbuzz:1.0
```
## Test
```bash
mvn test
```