JUnit4中文化

添加中文API

License

License

Categories

Categories

JUnit Unit Testing
GroupId

GroupId

com.github.program_in_chinese
ArtifactId

ArtifactId

junit4_in_chinese
Last Version

Last Version

0.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

JUnit4中文化
添加中文API
Project URL

Project URL

https://github.com/program-in-chinese/junit4_in_chinese
Source Code Management

Source Code Management

https://github.com/program-in-chinese/junit4_in_chinese

Download junit4_in_chinese

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.program_in_chinese/junit4_in_chinese/ -->
<dependency>
    <groupId>com.github.program_in_chinese</groupId>
    <artifactId>junit4_in_chinese</artifactId>
    <version>0.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.program_in_chinese/junit4_in_chinese/
implementation 'com.github.program_in_chinese:junit4_in_chinese:0.0.1'
// https://jarcasting.com/artifacts/com.github.program_in_chinese/junit4_in_chinese/
implementation ("com.github.program_in_chinese:junit4_in_chinese:0.0.1")
'com.github.program_in_chinese:junit4_in_chinese:jar:0.0.1'
<dependency org="com.github.program_in_chinese" name="junit4_in_chinese" rev="0.0.1">
  <artifact name="junit4_in_chinese" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.program_in_chinese', module='junit4_in_chinese', version='0.0.1')
)
libraryDependencies += "com.github.program_in_chinese" % "junit4_in_chinese" % "0.0.1"
[com.github.program_in_chinese/junit4_in_chinese "0.0.1"]

Dependencies

compile (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Build Status

junit4_in_chinese

JUnit4中文化. 起源: https://github.com/program-in-chinese/overview/issues/10

已公布到Maven库, 在pom.xml添加:

<dependency>
  <groupId>com.github.program_in_chinese</groupId>
  <artifactId>junit4_in_chinese</artifactId>
  <version>0.0.1</version>
</dependency>

中英对应表:

英文 中文
Assert.assertEquals 断言.相等
Assert.assertNotEquals 断言.不等
Assert.assertTrue 断言.为真
Assert.assertFalse 断言.为假
Assert.fail 断言.失败
@Test.expected @测试.期望异常
@Test.timeout @测试.超时

当 @Test 与 @测试 同时声明时,仅 @测试 有效.

com.github.program_in_chinese

中文编程

在所有编程语言和领域中尝试编写中文代码, 开发相关工具, 总结经验, 一致代码风格

Versions

Version
0.0.1