Giter Site home page Giter Site logo

swedish's Introduction

Overview

Thank you for the opportunity to provide this coding sample.

The supplied project provides a minimally viable product (MVP) to meet the requirements of the exercise. In the results folder, you can find the output from a trial run using the supplied 3 files as well as the application log output.

I welcome any questions or comments and look forward to hearing back from you.

Project requirements can be found in the file src\test\resources\README.txt

Build

mvn clean verify

Creates Swedish-0.0.1-SNAPSHOT.jar in the target directory. This will also produce a unit test coverage report in the target\site\index.html directory. The current branch coverage of just over 66% is low by my usual standards (typically 80% or more), however, given the small ratio of code branches to hard-to-mock Execptions (e.g., thread interruptions, file access, etc.), I felt that this still provided a fair representation of my approach to unit testing.

Usage

The command line usage would be of the form:

java -jar Swedish-0.0.1-SNAPSHOT.jar sourceFile1...

Usage is best shown via Maven unit test or running same within an IDE such as eclipse. This project can be imported into Eclipse via "Import... Existing Maven Projects" and selecting the pom.xml file. The set of 3 files for proof can be run against the Google Translation service via the /Swedish/src/test/java/org/disorg/SwedishControllerRemoteTest.java unit test.

swedish's People

Watchers

James Cloos avatar  avatar

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.