Skip to content

Commit 0f14693

Browse files
author
李雪涛
committed
image: translation some image to Chinese
1 parent d0ea212 commit 0f14693

8 files changed

+6
-6
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: 6 additions & 6 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>
@@ -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)