Skip to content

Commit a2b37bb

Browse files
Assertion example and test runner link in chinese language added. (#2171)
[deploy site] * Assertion example and test runner link in chinese language added. * Fixed incorrect assertion link and added some translation in Chinese Kotlin example
1 parent d72ab59 commit a2b37bb

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

website_and_docs/content/documentation/webdriver/getting_started/using_selenium.zh-cn.md

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,36 +49,37 @@ description: >
4949
{{< tabpane text=true >}}
5050
{{% tab header="Java" %}}
5151

52-
- [JUnit](https://junit.org/junit5/) - A widely-used testing framework for Java-based Selenium tests.
53-
- [TestNG](https://testng.org/) - Offers extra features like parallel test execution and parameterized tests.
52+
- [JUnit](https://junit.org/junit5/) - 个广泛使用的用于基于 JavaSelenium 测试的测试框架。
53+
- [TestNG](https://testng.org/) - 提供诸如并行测试执行和参数化测试等额外功能。
5454
{{% /tab %}}
5555

5656
{{% tab header="Python" %}}
5757

58-
- [pytest](https://pytest.org/) - A preferred choice for many, thanks to its simplicity and powerful plugins.
59-
- [unittest](https://docs.python.org/3/library/unittest.html) - Python's standard library testing framework.
58+
- [pytest](https://pytest.org/) - 由于其简单性和强大的插件,它成为许多人的首选。
59+
- [unittest](https://docs.python.org/3/library/unittest.html) - Python 的标准测试库
6060
{{% /tab %}}
6161

6262
{{% tab header="CSharp" %}}
6363

64-
- [NUnit](https://nunit.org/) - A popular unit-testing framework for .NET.
65-
- [MS Test](https://docs.microsoft.com/en-us/visualstudio/test/getting-started-with-unit-testing?view=vs-2019) - Microsoft's own unit testing framework.
64+
- [NUnit](https://nunit.org/) - .NET的流行单元测试框架
65+
- [MS Test](https://docs.microsoft.com/en-us/visualstudio/test/getting-started-with-unit-testing?view=vs-2019) - 微软自己的单元测试框架
6666
{{% /tab %}}
6767

6868
{{% tab header="Ruby" %}}
6969

70-
- [RSpec](https://rspec.info/) - The most widely used testing library for running Selenium tests in Ruby.
71-
- [Minitest](https://github.com/seattlerb/minitest) - A lightweight testing framework that comes with Ruby standard library.
70+
- [RSpec](https://rspec.info/) - Ruby中运行Selenium测试最广泛使用的测试库
71+
- [Minitest](https://github.com/seattlerb/minitest) - 一个随Ruby标准库附带的轻量级测试框架
7272
{{% /tab %}}
7373

7474
{{% tab header="JavaScript" %}}
7575

76-
- [Jest](https://jestjs.io/) - Primarily known as a testing framework for React, it can also be used for Selenium tests.
77-
- [Mocha](https://mochajs.org/) - The most common JS library for running Selenium tests.
76+
- [Jest](https://jestjs.io/) - 主要作为React的测试框架而闻名,但也可以用于Selenium测试
77+
- [Mocha](https://mochajs.org/) -最常用的运行Selenium测试的JavaScript库。
7878
{{% /tab %}}
7979

8080
{{% tab header="Kotlin" %}}
81-
81+
- [Kotest](https://kotest.io/) - 个灵活且全面的测试框架,专为 Kotlin 设计。
82+
- [JUnit5](https://junit.org/junit5/) -标准的 Java 测试框架,完全兼容 Kotlin。
8283
{{% /tab %}}
8384
{{< /tabpane >}}
8485

@@ -135,7 +136,7 @@ In your project's `package.json`, add requirement to `dependencies`:
135136
{{< gh-codeblock path="examples/javascript/test/getting_started/runningTests.spec.js#L14-L15" >}}
136137
{{< /tab >}}
137138
{{< tab header="Kotlin" >}}
138-
{{< badge-code >}}
139+
{{< gh-codeblock path="examples/kotlin/src/test/kotlin/dev/selenium/getting_started/FirstScriptTest.kt#L20-21" >}}
139140
{{< /tab >}}
140141
{{< /tabpane >}}
141142

0 commit comments

Comments
 (0)