Skip to content

Commit 49a2cff

Browse files
chore(tests): Relocate test_common.py into tests/ and update README
- Move `test_common.py` from project root into `tests/scraper/test_common.py` to align with test directory structure. - Add a mention of running tests to README.
1 parent d8ec49c commit 49a2cff

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

β€ŽREADME.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@
99
- [πŸ“‹ Description](#-description)
1010
- [πŸ’» Requirements](#-requirements)
1111
- [πŸš€ Project Installation](#-project-installation)
12-
- [πŸ“‚ Step 1: Clone the Repository](#-step-1-clone-the-repository)
12+
- [🎢 Step 1: Clone the Repository](#-step-1-clone-the-repository)
1313
- [πŸ–₯ Step 2: Create and activate a virtual environment](#-step-2-create-and-activate-a-virtual-environment)
1414
- [πŸ”ƒ Step 3: Installing Dependencies](#-step-3-installing-dependencies)
1515

1616
- [βš™ Code Quality](#-code-quality)
17+
- [πŸ§ͺ Testing](-testing)
18+
- [πŸ“‚ Run all tests](-run-all-tests)
1719
- [🧩 Usage](#-usage)
1820
- [πŸ”¨ Function Signature](#-function-signature)
1921
- [πŸ“€ Example](#-example)
@@ -90,6 +92,16 @@ ruff check --fix
9092
ruff format
9193
```
9294

95+
## πŸ§ͺ Testing
96+
97+
### πŸ“‚ Run all tests
98+
99+
##### To run the tests, execute the command
100+
```bash
101+
python3 -m unittest discover -v # Linux
102+
python -m unittest discover -v # Windows
103+
```
104+
93105

94106
## 🧩 Usage
95107
##### A market_scraper function retrieves pricing information for a specified item from the Steam Community Market.

β€Žtests/__init__.py

Whitespace-only changes.

β€Žtests/scraper/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
Β (0)