Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vspiewak/mower
My own implementation of Mower exercice
https://github.com/vspiewak/mower
interview java mower
Last synced: about 1 month ago
JSON representation
My own implementation of Mower exercice
- Host: GitHub
- URL: https://github.com/vspiewak/mower
- Owner: vspiewak
- Created: 2013-01-28T19:40:32.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-08T14:12:56.000Z (almost 10 years ago)
- Last Synced: 2024-04-14T20:05:00.345Z (10 months ago)
- Topics: interview, java, mower
- Language: Java
- Homepage:
- Size: 244 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Mower
=====[![Build Status](https://api.travis-ci.org/vspiewak/mower.png?branch=master)](http://travis-ci.org/vspiewak/mover)
Summary
-------
This is a my mower implementation (I hope it will not scratch too much your eyes :).
I chose an Engine-based architecture after considering Subject(Mower) / Observer(Lawn) pattern.Assuming two mowers can't be at the same position (ambiguous requirement),
the mower don't move if a collision with another mower is detected.Dependencies
------------
* JDK 1.6
* Maven 3
* SLF4J + LogBack
* TestNG
* FestAsserts
* JBehaveCompile & Run
-------------mvn clean package
cd target
java -jar mower-.jar src/test/resources/commands.txtNote: the `package` lifecycle build a shaded (i.e standalone) jar with all dependencies.
Integration tests
-----------------mvn clean verify
You can view JBehave reports at:
* target/jbehave/view/index.html
* target/jbehave/view/reports.htmlFeel free to write your own scenarios in the file [app_scenarios.story](https://github.com/vspiewak/mower/blob/master/src/test/resources/stories/com/github/vspiewak/mowitnow/mower/jbehave/app_scenarios.story)
Javadoc & Sources JAR
---------------------
A `mower--sources.jar` and `mower--javadoc.jar` are generated at `package` lifecycle.
You can use them with your favorite IDE.Continuous Integration
----------------------
Continuous integration provided by [Travis CI](https://travis-ci.org)Latest Sonar Statistics
-----------------------
* 675 lines
* 99,1 rules compliances (2 violations)
* 84,3 units tests coverages
* 0% duplications / pti
* 100% tests success