GithubHelp home page GithubHelp logo

cancan9527 / sample-test Goto Github PK

View Code? Open in Web Editor NEW

This project forked from superproxy/sample-test

0.0 0.0 0.0 181 KB

java unit test 单元测试和集成测试示例

Home Page: http://superproxy.github.io/

JavaScript 5.22% Java 92.02% Batchfile 1.39% FreeMarker 1.37%

sample-test's Introduction

sample-test

Join the chat at https://gitter.im/superproxy/sample-test

##单元测试示例

testng和单元覆盖工具集成
testng和spring test集成
mockito和spring mvc mock对象集成
controller service dao 单元测试和集成测试的方法
添加csv和json测试文件支持

###使用

  1. 本地查看
    执行local_unitreport.bat
    在target/surefire-reports中查看测试结果
    在target/site/cobertura中查看测试覆盖率

  2. sonar集成查看
    下载sonar
    下载单元测试覆盖率插件cobertura
    http://docs.sonarqube.org/display/PLUG/Cobertura+Plugin

运行 cobertura.bat,在sonar上查看结果

sample-test's People

Contributors

superproxy avatar gitter-badger 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.