Skip to content

Commit 31494b5

Browse files
authored
Merge pull request #197 from XtLee/translations-image-to-Chinese
Translations some image to Chinese & fix readme-zh-CN.md part 4.2 no image
2 parents 56614a4 + dbab226 commit 31494b5

8 files changed

+7
-7
lines changed

assets/header.pptx

0 Bytes
Binary file not shown.

assets/zh-CN/bp-1-3-parts.jpg

179 KB
Loading
76.9 KB
Loading
246 KB
Loading
218 KB
Loading
175 KB
Loading

assets/zh-CN/headspace.png

464 KB
Loading

readme-zh-CN.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ JS 领域的 CI 指南(9 条)
7272

7373
为了达到这个目的,我们可以通过选择性价比高、投入产出比(ROI)高的技术、工具以及测试对象。仅测试需要的内容,努力保持其灵活性,某些时候甚至值得去舍弃一些测试来换取灵活性和简洁性。
7474

75-
![alt text](/assets/headspace.png "We have no head room for additional complexity")
75+
![alt text](/assets/zh-CN/headspace.png "We have no head room for additional complexity")
7676

7777
下面的大部分建议衍生自这一原则。
7878

@@ -129,7 +129,7 @@ describe('Products Service', function() {
129129
<br/>
130130

131131
### :clap: 正例: 一个包含三部分的用例名
132-
![alt text](/assets/bp-1-3-parts.jpeg "A test name that constitutes 3 parts")
132+
![alt text](/assets/zh-CN/bp-1-3-parts.jpg "A test name that constitutes 3 parts")
133133

134134
</details>
135135

@@ -732,7 +732,7 @@ describe('Order service', function() {
732732
<br/>
733733

734734
### :clap: 正例: Cindy Sridharan 在她的文章“测试微服务——理智的方式”中提出了一个丰富的测试组合
735-
![alt text](assets/bp-12-rich-testing.jpeg "Cindy Sridharan suggests a rich testing portfolio in her amazing post ‘Testing Microservices — the sane way’")
735+
![alt text](assets/zh-CN/bp-12-rich-testing.jpg "Cindy Sridharan suggests a rich testing portfolio in her amazing post ‘Testing Microservices — the sane way’")
736736

737737
<strong class="markup--strong markup--p-strong">☺️Example: </strong><a href="https://www.youtube.com/watch?v=-2zP494wdUY&amp;feature=youtube" data-href="https://www.youtube.com/watch?v=-2zP494wdUY&amp;feature=youtu.be" class="markup--anchor markup--p-anchor" rel="nofollow noopener" target="_blank">[YouTube: “Beyond Unit Tests: 5 Shiny Node.JS Test Types (2018)” (Yoni Goldberg)](https://www.youtube.com/watch?v=-2zP494wdUY&feature=youtu.be)</a>
738738

@@ -770,7 +770,7 @@ describe('Order service', function() {
770770
![](https://img.shields.io/badge/🔧%20Example%20using%20Mocha-blue.svg
771771
"Examples with Jest")
772772

773-
![alt text](assets/bp-13-component-test-yoni-goldberg.png " [Supertest](https://www.npmjs.com/package/supertest) allows approaching Express API in-process (fast and cover many layers)")
773+
![alt text](assets/zh-CN/bp-13-component-test-yoni-goldberg.png " [Supertest](https://www.npmjs.com/package/supertest) allows approaching Express API in-process (fast and cover many layers)")
774774

775775
</details>
776776

@@ -797,7 +797,7 @@ describe('Order service', function() {
797797
![](https://img.shields.io/badge/🔧%20Example%20using%20PACT-blue.svg
798798
"Examples with PACT")
799799

800-
![alt text](assets/bp-14-testing-best-practices-contract-flow.png )
800+
![alt text](assets/zh-CN/bp-14-testing-best-practices-contract-flow.png )
801801

802802

803803
</details>
@@ -1625,7 +1625,7 @@ describe('visual validation', () => {
16251625

16261626
### :thumbsdown: 反例: 这份覆盖率报告有什么问题?基于一个真实的场景,我们跟踪了 QA 中的应用程序使用情况,并发现了一些有趣的登录模式(提示:登录失败的数量是不成比例的,有些地方显然有问题。最终表现为一些前端的 bug 不断触发后端登录API)
16271627

1628-
![alt text](assets/bp-19-coverage-yoni-goldberg-nodejs-consultant.png "What’s wrong with this coverage report? based on a real-world scenario where we tracked our application usage in QA and find out interesting login patterns (Hint: the amount of login failures is non-proportional, something is clearly wrong. Finally it turned out that some frontend bug keeps hitting the backend login API)
1628+
![alt text](assets/bp-19-coverage-yoni-goldberg-nodejs-consultant.png "What’s wrong with this coverage report? based on a real-world scenario where we tracked our application usage in QA and find out interesting login patterns (Hint: the amount of login failures is non-proportional, something is clearly wrong. Finally it turned out that some frontend bug keeps hitting the backend login API")
16291629

16301630
</details>
16311631

@@ -1674,7 +1674,7 @@ it("Test addNewOrder, don't use such test names", () => {
16741674

16751675
### :clap: 正例: Stryker 报告,一个编译测试工具,发现并统计没有被测试到的代码(变异)
16761676

1677-
![alt text](assets/bp-20-yoni-goldberg-mutation-testing.jpeg "Stryker reports, a tool for mutation testing, detects and counts the amount of code that is not tested (Mutations)")
1677+
![alt text](assets/zh-CN/bp-20-yoni-goldberg-mutation-testing.jpg "Stryker reports, a tool for mutation testing, detects and counts the amount of code that is not tested (Mutations)")
16781678

16791679
</details>
16801680

0 commit comments

Comments
 (0)