8000 Merge pull request #11 from arduino/feature/tests · arduino/micropython.js@c50a968 · GitHub
[go: up one dir, main page]

Skip to content

Commit c50a968

Browse files
authored
Merge pull request #11 from arduino/feature/tests
Improving test suite
2 parents c44ffe6 + 267999e commit c50a968

File tree

5 files changed

+380
-1120
lines changed

5 files changed

+380
-1120
lines changed

TESTS.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Test cases:
2+
3+
Get prompt
4+
Write to repl and get data as you type / real time repl
5+
Enter raw repl from prompt
6+
7+
Get prompt when you are on raw repl
8+
Re-enter raw repl
9+
10+
Exit raw repl
11+
12+
Execute raw and get final output
13+
Execute raw and get data as it executes and the leave raw repl
14+
15+
List files on root
16+
Make directory
17+
Put small file on root
18+
Put big file on root
19+
Get root file content
20+
21+
Put small file on directory
22+
Put big file on directory
23+
Get directory file content
24+
25+
Check for a file that exists on root folder
26+
Check for a file that exists on folder
27+
28+
Remove file
29+
Remove folder
30+
31+
Check for a file that doesn't exist
32+
33+
Creates a file from string
< 4401 code>34+
Overrides a file content with string
35+
Rename file on root
36+
Rename file on folder

0 commit comments

Comments
 (0)
0