Giter Site home page Giter Site logo

vblog's People

Contributors

virgilchen97 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vblog's Issues

Unit tests are needed to help with the multi-coder cooperation

Hi Virgil,

I have tried the online demo and I think this is an interesting project. Also, I have read some of the code and have some personal improvement suggestion coming out. The most important one, I think, is to write a set of unit tests to assist the cooperation. For spring based project, because of the auto-wiring, service test may encounter the problem of the auto-injection of the spring bean. So, choosing a suitable testing strategy is a very important issue for the developers to consider. I have two suggestions for you. The Jmockit Framework can be included to assist the service test because it can mock the auto-wiring beans and bring us a fast speed because the tests don't rely on the spring container's start-up. Another way is to introduce simple spring based test which rely on the container's start-up. This strategy is good if the container doesn't consume much time for each start-up. Some annotations need to be added to the unit test class to declare that this test need the container to start.

Regards,
Boyang Sun

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.