File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1015Provide the directory name you put the JSON file in: ../json
1116Provide the filename of which JSON data name you would like to sort: settings.json
1217Provide asc(default) or desc you would like to sort key-value in: asc
1318Start exporting JSON data in ./json/settings.json
1419Done 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+ ```
You can’t perform that action at this time.
0 commit comments