Skip to content

Commit 76e0fb9

Browse files
committed
doc: update requirement of lab2
1 parent 03e0b8a commit 76e0fb9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lab2/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
## Introduction
44

5-
In this lab, you will write unit tests for functions implemented in `main.js`. You can learn how to use classes and functions in it by uncommenting the code in it.
5+
In this lab, you will write unit tests for functions implemented in `main.js`. You can learn how to use classes and functions in it by uncommenting the code in it. (But remember don't commit them on GitHub)
66

77
## Requirement
88

99
1. Write test cases in `main_test.js` and achieve 100% code coverage. Remember to use Mock, Spy, or Stub when necessary, you need to at least use one of them in your test cases. (100%)
1010

1111
You can run `validate.sh` in your local to test if you satisfy the requirements.
1212

13-
Please note that you must not alter files other than `main_test.js`. You will get 0 points if you modify other files to achieve requirements.
13+
Please note that you must not alter files other than `main_test.js`. You will get 0 points if
14+
15+
1. you modify other files to achieve requirements.
16+
2. you can't pass all CI on your PR.
1417

1518
## Submission
1619

0 commit comments

Comments
 (0)