上一页 1 ··· 250 251 252 253 254 255 256 257 258 ··· 494 下一页
摘要: A Vuex store centralizes the state of your app, making it easy to reason about your state flow. In this lesson we’ll see how we can create a Vuex stor 阅读全文
posted @ 2019-04-25 22:54 Zhentiw 阅读(493) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-04-25 02:06 Zhentiw 阅读(1) 评论(0) 推荐(0)
摘要: It is recommened to write unit testing with Mockito in Spring framework, because it is much faster with Spring framework test. But in case you can doi 阅读全文
posted @ 2019-04-24 15:43 Zhentiw 阅读(218) 评论(0) 推荐(0)
摘要: For example, we want to test against a implemataion: We want to do the test with Java Context: 1. Bring in some dependencies: in pom.xml Create a new 阅读全文
posted @ 2019-04-24 15:14 Zhentiw 阅读(401) 评论(0) 推荐(0)
摘要: The benfits of multi-stage builds: Avoid manual creation of intermediate images Reduce complexity Selectively copy artifacts from one stage to another 阅读全文
posted @ 2019-04-23 22:14 Zhentiw 阅读(152) 评论(0) 推荐(0)
摘要: In this post, we are going to see more functionalities in Mockito. Mock a List interface: Call multi times: First call, return 10, second times return 阅读全文
posted @ 2019-04-23 20:25 Zhentiw 阅读(851) 评论(0) 推荐(0)
摘要: Let's say we want to write a most simple implementation 'avg' function: Basiclly, the 'avg' function doing two things: Calculate sum Divide sum / leng 阅读全文
posted @ 2019-04-22 21:49 Zhentiw 阅读(260) 评论(0) 推荐(0)
摘要: The highlighted part is important, without this, if you hint the page url: It will show 404 page, because it will be regareded as a server request. Wi 阅读全文
posted @ 2019-04-18 22:28 Zhentiw 阅读(236) 评论(0) 推荐(0)
摘要: Previously we have seen how to do Unit testing with Mockito; In this post, we are going to see, using annotation from Mockito to make testing easier: 阅读全文
posted @ 2019-04-18 20:23 Zhentiw 阅读(310) 评论(0) 推荐(0)
摘要: For example, in React application, we have initial state; We have a toggle button, which everytime, it is toggle 'ui.filterGroups.status' to true/fals 阅读全文
posted @ 2019-04-18 19:53 Zhentiw 阅读(160) 评论(0) 推荐(0)
上一页 1 ··· 250 251 252 253 254 255 256 257 258 ··· 494 下一页