上一页 1 ··· 256 257 258 259 260 261 262 263 264 ··· 500 下一页
摘要: 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 阅读(513) 评论(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 阅读(240) 评论(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 阅读(433) 评论(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 阅读(195) 评论(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 阅读(897) 评论(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 阅读(295) 评论(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 阅读(265) 评论(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 阅读(341) 评论(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 阅读(185) 评论(0) 推荐(0)
上一页 1 ··· 256 257 258 259 260 261 262 263 264 ··· 500 下一页