Giter Site home page Giter Site logo

test-resource's Introduction

SpringBoot + Mybatis 单元测试

Java CI with Maven codecov

为什么会有此仓库

  1. 帮助 TDD 开发者快速熟悉 Spring 体系的单元测试工具
  2. 提升自身能力,高效编程,减少因自身原因导致的 996 工作模式

涉及的工具及框架

  • spring-boot-starter-test(Spring 体系使用的单元测试框架集合)
    • JUnit 5
    • Mockito
    • MockMvc
    • Harmcrest
  • mybatis-spring-boot-starter-test (MyBatis 官方对单元测试的支持 lib)
  • allure-junit5 (allure 测试报告插件)

当前进度

  • Api 层验证 JSON 传输解析的正确性
  • Service 层验证业务逻辑的正确性
  • DAO 层验证 SQL 的正确性

参与贡献

fork

git clone your-forked-repo

update local repo

git push

pull request

如果本项目对你有帮助,请给个 star

test-resource's People

Contributors

ahianzhang avatar

Stargazers

 avatar

Watchers

 avatar

test-resource's Issues

Controller 是否应改为 API ?

现在通用的技术是 前后端分离 ,Controller 层只对外提供 REST 服务,并无实际的页面跳转,所以改成 API 层是不是更贴切?

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.