On unit testing
What's the use of unit testing
Improve the work efficiency of the whole team.
Quality code is a contribution to the whole team
Improve the programmer's sense of responsibility and code quality.
Through unit testing, ensure that your code is reliable and complete, which is responsible for yourself and the team
Get a regression test tool for ...
Added by techker on Tue, 08 Mar 2022 07:07:07 +0200
Java unit testing tool for software quality and testing: JUnit4 learning
preface
JUnit is a unit test framework of Java programming language, which is a simple framework for writing reusable test sets. JUnit has a very important development in test driven development. It is one of the unit testing frameworks collectively called xUnit, which originated from JUnit. XUnit is a test framework based on test driven ...
Added by SteveFrost on Fri, 04 Mar 2022 20:39:17 +0200
Unit test framework -- Mockito
Problems encountered in unit testing in current development
After the business code development is completed, the new code needs to be unit tested. Due to the large number of third-party components and external system interfaces that the project depends on, the whole project needs to be started and various dependencies need to be loaded ev ...
Added by bijukon on Thu, 24 Feb 2022 05:00:48 +0200
MVC's automatic test unit configuration: SpringBoot
Automatic configuration of MockMvc
As mentioned above, @ AutoConfigureMockMvc provides the function of automatically configuring MockMvc and instantiating the function of MockMvc
The specific code is in Within the MockMvcAutoConfiguration autoconfiguration class in the spring boot test autoconfiguration project. The effectiveness of this auto ...
Added by zelot1980 on Sat, 19 Feb 2022 10:04:28 +0200
Do you often forget Linux shell commands? I'm ready for you.
preface
What is a Linux Shell
Linux Shell is the interface program between users and Linux kernel, which provides users with an excuse to use the operating system. When a command is passed to the Linux kernel, it will respond.
Shell is a user program, or an environment provided for user and system interaction.
It is a language interpreter ...
Added by desithugg on Fri, 18 Feb 2022 04:26:21 +0200
Introduction to difficult points of Jest unit test
Article toneIntroduce the concept and thinking process, and do not provide code (refer to the specific code writing method) jest official website)Extension:In the era of information explosion, all kinds of resources are very rich. There are many materials on the InternetHowever, the details of the official website do not duplicate the same info ...
Added by jonoc33 on Fri, 11 Feb 2022 11:37:27 +0200
The implementation principle of front-end unit test framework
Before starting this article, let's talk about the author's feelings about unit testing (or integration testing, e2e testing).
In foreign countries, software engineers attach great importance to software quality, and most of them advocate using TDD to ensure code quality. However, China often does not attach great importance to automated testi ...
Added by SilentQ-noob- on Wed, 09 Feb 2022 14:35:52 +0200
Unit Testing [43]
8.6 how to test log function
the log is a gray area. When it comes to testing, it is not obvious how to deal with it. This is a complex topic. I will divide it into the following questions:
Should you test the log or not?If so, how should you test it?How much log is enough?How do you pass recorder instances?
We will use our CRM projec ...
Added by sugarat on Mon, 31 Jan 2022 05:48:35 +0200
Vim unit test plug-in
For more sharing, please visit my personal blog
https://www.niuiic.top/
This paper introduces a flexible unit testing tool in vim.
demand
For large-scale projects, unit testing is essential. There are many ways to do unit testing in vim. For example, using the built-in terminal, write your own test script and pass asynctasks VIM et al. Howe ...
Added by b-real on Sat, 29 Jan 2022 04:01:24 +0200
How to design unit test cases
Recently, some large companies are carrying out the operation of de testing. The root of all this can probably start from the fact that Microsoft cut down all the internal formal testers a few years ago. At that time, some of the internal test engineers of Microsoft were transferred to development engineers, and a large part of their functions ...
Added by Hopps on Mon, 24 Jan 2022 14:56:39 +0200