Skip to content

Commit 2ec534e

Browse files
committed
update
1 parent 5ca5f82 commit 2ec534e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
# Rust 测试
22

3+
<table>
4+
<tr>
5+
<th>title</th>
6+
<th>tags</th>
7+
</tr>
8+
<tr>
9+
<td>01. 测试</td>
10+
<td>
11+
<table>
12+
<tr>
13+
<th>rust</th>
14+
<th>basic</th>
15+
<td>test</td>
16+
</tr>
17+
</table>
18+
</td>
19+
</tr>
20+
</table>
21+
22+
## 简介
23+
24+
本文作者: [Eta](https://twitter.com/pwhattie)
25+
326
本文主要介绍了 Rust 测试的函数、命令和种类, 干货满满。
427

528
- 测试函数: 测试中常用的宏、属性和枚举, 包括 `#[test]``#[cfg(test)]``panic!``assert!``assert_eq!` 、 `assert_ne!``should_panic``Result<T,E>`

0 commit comments

Comments
 (0)