Tag:test

  • Two examples of spring boot unit test

    Time:2021-4-16

    This article mainly introduces two methods of springboot unit test, and explains the examples in detail. The example code is introduced in great detail, which has a certain reference learning value for everyone’s study or work. If you need a friend, you can refer to it Spring boot unit test, here are two ways, one […]

  • How Python prepares, trains and tests its own image data

    Time:2021-4-2

    Most of the introductory tutorials of Python use the data in torch vision for training and testing. If we are our own image data, what should we do? 1、 My data When I study, I use fashion MNIST. This data is relatively small. My computer does not have a GPU, so I can still afford […]

  • Implementation of OpenCV detailed text and text tutorial and test code in vs2019 configuration

    Time:2021-2-18

    Abstract: Vs2019 is new. What are the differences in configuring opencv? This tutorial will teach you how to configure opencv and run opencv step by step. Environmental Science: System: win10 system up to 20190523 Opencv version: 3.4.1 IDE: the strongest in the universe, the latest version of idea, community version 2019 course: 1. Download the […]

  • Based on Fiddler to modify the interface to return data for testing

    Time:2021-2-15

    Method introduction and comparison In the process of testing, some requirements are like this. It requires you to modify the data returned by the interface, so as to check whether it is displayed correctly in the client mobile app. This is also a kind of interface fault tolerance test, which belongs to one of the […]

  • JS regular function match, exec, test, search, replace, split

    Time:2021-1-16

    Match method The regular expression pattern is used to perform a lookup on a string, and the result containing the lookup is returned as an array.stringObj.match(rgExp) parameterstringObj Required. The string object or string text to look for.rgExp Required. Is a regular expression object that contains regular expression patterns and available flags. It can also be […]

  • The usage of exec, test, match, search, replace, split in JS

    Time:2020-12-13

    Exec: regularize the string and return the matching result. Array [0] is the original string, array [i] is the position of the match in the whole searched string.Test: test whether the string contains a matching result. If yes, it returns true, if not, it returns false.Match (pattern): regular matching is carried out according to the […]

  • Explain the test function of JS regular expression

    Time:2020-10-27

    Function introduction: the return value of this method is a Boolean value. Through this value, you can match whether there is a regular expression matching result in the string. If there is a matching content, it returns true. If there is no matching content, it returns false. This method is commonly used to judge the […]

  • Redis execution performance test

    Time:2020-10-3

    Redis performance test is implemented by executing multiple commands at the same time. grammar The basic commands for redis performance test are as follows: redis-benchmark [option] [option value] Note that the redis command is executed in the internal directory of the client. example The following example performs 10000 requests simultaneously to detect performance: $ redis-benchmark […]

  • Container Decade: a software delivery Chronicle

    Time:2020-6-19

    Zhang Lei, senior technical expert of Alibaba cloud container platform, CNCF ambassador, senior member and maintainer of kubernetes project, once worked in hyper and Microsoft Research Institute (MSR), is now responsible for kubernetes technology and upstream and downstream related work. In 2019, developers all over the world began to use containers to test their own […]

  • Spring boot implements unit test process analysis through JUnit

    Time:2020-5-28

    This article mainly introduces spring boot’s implementation of unit test process analysis through JUnit. The example code in this article is very detailed, which has a certain reference learning value for everyone’s study or work. You can refer to the following for friends who need it 1. Need to pom.xml Introducing spring boot starter test […]

  • Tensorflow implementation is tested on the trained model

    Time:2020-5-18

    Tensorflow can use the trained model to test the new data, there are two methods: the first method is to call the model and train in the same py file, the situation is relatively simple; the second method is to train the process and call the model process in two py files respectively. This article […]

  • JS regular expressions test() and exec() usage examples

    Time:2020-5-15

    The examples of this article describe the usage of JS regular expressions test() and exec(). Share with you for your reference. The details are as follows: Copy codeThe code is as follows: <html> <head> <script type=”text/javascript”>//Regular. Test (content), return true or false function t1(){Var con = document.getelementsbyname (‘content ‘) [0]. Value; / / content to […]