Skip to content

Commit cbbde04

Browse files
authored
Add unit test notes
1 parent f34916b commit cbbde04

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
11
# 我要刷 LeetCode
22

33
第一階段先以這個 list 為目標: [Blind Curated 75](https://leetcode.com/list/xoqag3yj/)
4+
5+
## Unit Tests
6+
7+
各種語言與執行環境的測試方法:
8+
9+
* TypeScript (Node.js + Jest)
10+
11+
```bash
12+
$ yarn test problems/
13+
```
14+
15+
* TypeScript (Deno)
16+
17+
```bash
18+
$ deno test problems/*/*.test.deno.ts
19+
```
20+
21+
* Go
22+
23+
```bash
24+
go test -v ./problems/...
25+
```

0 commit comments

Comments
 (0)