Skip to content

Commit 3070c70

Browse files
committed
Update README
1 parent af98c4f commit 3070c70

1 file changed

Lines changed: 21 additions & 2 deletions

File tree

python/README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,33 @@
22

33
- Python 3.14.4
44

5-
## 2. Execution
5+
## 2. Install Libraries via requirements.txt
6+
7+
```command
8+
$ pip install -r requirements.txt
9+
```
10+
11+
## 3. Execution
612

713
```command
8-
$ cd ./python
914
$ python main.py
1015
Provide the directory name you put the JSON file in: ../json
1116
Provide the filename of which JSON data name you would like to sort: settings.json
1217
Provide asc(default) or desc you would like to sort key-value in: asc
1318
Start exporting JSON data in ./json/settings.json
1419
Done exporting JSON data in ./json/settings.json 🎉
1520
```
21+
22+
## 4. Unit Test
23+
24+
```command
25+
$ pytest
26+
============================= test session starts ==============================
27+
platform linux -- Python 3.14.4, pytest-9.0.3, pluggy-1.6.0
28+
rootdir: /mnt/c/Users/binlh/Documents/development/json-data-sorters/python
29+
collected 5 items
30+
31+
test/test_application.py ..... [100%]
32+
33+
============================== 5 passed in 0.26s ===============================
34+
```

0 commit comments

Comments
 (0)