Python and Nose realize automatic test of mobile application

Today I'm talking with you about Python and Nose's automatic testing of mobile applications. I hope it can help you. There's something bad to say. Please give me more advice! The coolest thing about automated functional testing with Appium is that you can write your test code in any language that has the best testing tools for you. Python is t ...

Added by sottwell on Wed, 06 May 2020 15:13:20 +0300

How to quickly view the IP address and other information of the login user in Spring Security?

Last article I've talked about how to use a more elegant way to customize Spring Security login logic. A more elegant way can effectively avoid the inefficiency brought by custom filters. I suggest you read it and understand the authentication logic in Spring Security by the way. Based on the above, this paper will continue to discuss with you ...

Added by jimjack145 on Wed, 06 May 2020 11:21:22 +0300

18 examples take you to master Java 8 date time processing!

Author: Pang xiansen https://juejin.im/post/5a795bad6fb9a0634f407ae5 Java 8 introduces a new date time API. In the tutorial, we will learn how to use the new API through some simple examples. The way Java deals with date, calendar and time has always been criticized by the community. Setting java.util.Date as a variable type and the non thre ...

Added by matthewc on Wed, 06 May 2020 08:54:37 +0300

International multilingual configuration

The static multilingual configuration file is placed in the Resource Bundle under the resources directory and configured in the form of key=value For example, in Chinese: messages ABCD cn.properties Property1 = property1 Property2 = property2 English: property1=property one property2=property two Configuration Internationalization: @Con ...

Added by ron814 on Tue, 05 May 2020 22:44:36 +0300

Spring transaction management [Focus]

Spring transaction management Commit and rollback transactions to spring   1, Brief introduction In Java EE development, transactions are in the Service layer, Judged by the program: in case of abnormal transaction rollback, no abnormal transaction commit occurs. Spring uses AOP technology for transaction control, and helps developers t ...

Added by fredroines on Tue, 05 May 2020 21:50:16 +0300

Spring boot built-in life cycle event details spring boot source code

Github address of spring boot Chinese annotation project: https://github.com/yuanmabiji/spring-boot-2.1.0.RELEASE Continued Spring boot event monitoring mechanism source code analysis (I) spring boot source code (IX) Learn from the past Let's review the content of the previous article briefly. In the previous article, we analyzed the principle ...

Added by bonzie on Tue, 05 May 2020 11:05:49 +0300

Four basic characteristics of java -- encapsulation inheritance polymorphism abstraction

Catch up tomorrow or may day c small long holiday, ready to write a few original articles in these days, for everyone to learn together. First of all, let's have a good chat today. What are the features of java? How to use it? I believe there must be some Xiaobai who will be upset about it. It doesn't matter. Who hasn't come from that time! Ne ...

Added by Alanmoss on Mon, 04 May 2020 18:39:42 +0300

Multithreaded things (nested locks)

[notice: All Rights Reserved. Please reprint. Do not use for commercial purposes. Contact email: feixiaoxing@163.com] The concept of nested lock is mainly extended according to a situation in programming. What's the situation? We can explain it in detail. Suppose that when you are dealing with a public function, you add a lock because the publi ...

Added by feckless on Mon, 04 May 2020 12:07:34 +0300

Java I / O --- Reader & writer (character stream)

1.Reader & Writer When we first saw the Reader and Writer classes, we might think that they were two classes to replace InputStream and OutputStream, but they were not. Although some of the original "stream" class libraries are no longer in use (if you use them, you will receive warnings from the compiler), InputStream and OutputS ...

Added by nhanlee on Sun, 03 May 2020 16:53:03 +0300

tyboot - Rapid development of scaffolding based on Spring Boot

tyboot Source code: https://gitee.com/magintursh/tyboot https://github.com/magintursh/tyboot If you like, you can give a star for more people to see. introduce tyboot is a springboot-based service-side scaffold for the rapid development of single services. You need a micro-service solution to see another project, tycloud (still under improveme ...

Added by peterg012 on Sun, 03 May 2020 14:28:45 +0300