Code Monkey home page Code Monkey logo

unit-test-basic-2019-6-14-3-19-48-282's Introduction

Unit Test Basic

Business Requirement

This is a part of implementation code pick up from a Internal reimbursement system. you should write unit test for it to make sure it can work in production.

Practice Requirement:

  • ** Write test cases after clearly understanding the implemented code**
  • ** Complete tests in the existing test file and ensure that the test coverage of the test category of this test file is 100%**
  • Unit testing should cover all core business logic
  • Make unit test refactoring with small steps
  • ** Submit code in small steps with a comment on meaning **
  • Complete unit tests on the corresponding file under the src/test catalog of project

Environment Requirement

  • Java 8
  • Intellj IDEA
  • JUnit 5
  • AssertJ 3.10.0
  • Gradle

How to Start

  • You can fork the following github repository as starting point
  • Please submit your own github repository address in the answer field.

How to Test

  • Implement ./gradlew clean test under root catalogue and view test result

Practice Output && Submit

  • You should implement the test code and push your repo to github repo named unit-test-basic.
  • Commit your repostory link to complete this Question.

unit-test-basic-2019-6-14-3-19-48-282's People

Contributors

linwenjun avatar recruiting-system avatar weixiaobo88 avatar

Watchers

 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.