Skip to content

Commit 601f68d

Browse files
committed
address comments
1 parent d89c095 commit 601f68d

File tree

3 files changed

+20
-16
lines changed

3 files changed

+20
-16
lines changed

CONTRIBUTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,26 @@ This project implements a Model Context Protocol (MCP) server for MongoDB and Mo
5757

5858
4. Commit your changes with a descriptive commit message
5959

60+
## Adding tests to the MCP Server
61+
62+
When adding new features or fixing bugs, please ensure that you also add tests to cover your changes. This helps maintain the quality and reliability of the codebase.
63+
64+
## Running Tests
65+
66+
The tests can be found in the `__tests__` directory.
67+
68+
You can run tests using the following npm scripts:
69+
70+
- `npm test`: Run all tests
71+
72+
To run a specific test file or directory:
73+
74+
```bash
75+
npm test -- path/to/test/file.test.ts
76+
npm test -- path/to/directory
77+
```
78+
79+
6080
## Troubleshooting
6181

6282
### Restart Server
File renamed without changes.

tests/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)