Giter Club home page Giter Club logo

tddsample's Introduction

Project Description

I want to compare two lines for equality based on the end points, So that I know when two lines are the equal.

Motive of project

This is very simple exercise example. The main goal behind this example was to follow the TDD patteren with baby steps.

  1. git history will help here to understand how this project evolved towards the solution.
  2. This project follows the clean architecture of best practices.
  3. This exercise we have done in Bootcamp course It helps us to think on small thing's which we always miss while solving big problems:)
    Non-negotiable Etiquette List (fail == rm -rf)
* Indentation and spacing between code constructs (classes/methods/specs) must be consistent
* Use only spaces (no tabs) for indentation
* Newlines at end of file
* Follow accepted naming conventions for your language/framework
* Follow accepted naming file and Directory structure for your language/framework
* Use namespaces
* No comments/Unused Code must ever be checked in
* Runtime environment should be consistent with IDE environment - i.e there should be no difference in running a build or a spec from your IDE and from the command line
* Use .gitignore
* Ensure there is a Readme.md that includes
  * Problem Description
  * Dev environment setup
  * Build instructions
  * Run instructions
• BDD (this should show in clear pattern in the commit log - one spec, one code change per commit)
• Only English
• No cross conversations

Dev Environment Setup for OS X.

  • Java v10
$ brew cask install java

At present(22/08/2018) it will directly install java 10. Please verify the version if you are using it later.

To install java please refer

  • Gradle v4.9

To install gradle please refer

Test instructions

$ ./gradlew clean test

Build instructions

$ ./gradlew build

Code Coverage instructions

$ ./gradlew clean build jacocoTestReport

Code complexity

$ ./gradlew clean build check

Author

Vrushali

tddsample's People

Watchers

Vrushali Raut 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.