@agentforge/testing 0.1.0 โ 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
# @agentforge/testing
|
|
2
2
|
|
|
3
|
-
Testing utilities and helpers for the AgentForge framework
|
|
3
|
+
> Testing utilities and helpers for the AgentForge framework
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/@agentforge/testing)
|
|
6
|
+
[](https://www.typescriptlang.org/)
|
|
7
|
+
[](../../LICENSE)
|
|
8
|
+
|
|
9
|
+
## ๐ Status: Production Ready & Published
|
|
10
|
+
|
|
11
|
+
**Complete testing toolkit** | **Full TypeScript support** | **Comprehensive documentation**
|
|
12
|
+
|
|
13
|
+
## ๐ฆ Installation
|
|
6
14
|
|
|
7
15
|
```bash
|
|
8
16
|
npm install --save-dev @agentforge/testing
|
|
@@ -12,13 +20,15 @@ pnpm add -D @agentforge/testing
|
|
|
12
20
|
yarn add -D @agentforge/testing
|
|
13
21
|
```
|
|
14
22
|
|
|
15
|
-
## Features
|
|
23
|
+
## โจ Features
|
|
16
24
|
|
|
17
25
|
- ๐ญ **Mock Factories** - Create mock LLMs, tools, and states for testing
|
|
18
26
|
- ๐ง **Test Helpers** - Assertion helpers and state builders
|
|
19
27
|
- ๐ฆ **Fixtures** - Pre-built sample agents, tools, and conversations
|
|
20
28
|
- ๐ **Test Runners** - Agent test runner and conversation simulator
|
|
21
29
|
- ๐ธ **Snapshot Testing** - State and message snapshot utilities
|
|
30
|
+
- โ
**Full TypeScript** - Complete type safety and inference
|
|
31
|
+
- ๐งช **Vitest Integration** - Works seamlessly with Vitest
|
|
22
32
|
|
|
23
33
|
## Quick Start
|
|
24
34
|
|
|
@@ -358,9 +368,28 @@ describe('ReAct Agent Integration Tests', () => {
|
|
|
358
368
|
- `calculatorTool` - Calculator tool
|
|
359
369
|
- `searchTool` - Search tool
|
|
360
370
|
|
|
371
|
+
## ๐ Documentation
|
|
372
|
+
|
|
373
|
+
- ๐ **[Full Documentation](https://tvscoundrel.github.io/agentforge/)**
|
|
374
|
+
- ๐ **[Quick Start](https://tvscoundrel.github.io/agentforge/guide/quick-start)**
|
|
375
|
+
- ๐งช **[Testing API Reference](https://tvscoundrel.github.io/agentforge/api/testing)**
|
|
376
|
+
- ๐ก **[Testing Tutorial](https://tvscoundrel.github.io/agentforge/tutorials/testing)**
|
|
377
|
+
|
|
378
|
+
## ๐ Links
|
|
379
|
+
|
|
380
|
+
- [GitHub Repository](https://github.com/TVScoundrel/agentforge)
|
|
381
|
+
- [npm Package](https://www.npmjs.com/package/@agentforge/testing)
|
|
382
|
+
- [Report Issues](https://github.com/TVScoundrel/agentforge/issues)
|
|
383
|
+
|
|
384
|
+
## ๐ Related Packages
|
|
385
|
+
|
|
386
|
+
- [@agentforge/core](https://www.npmjs.com/package/@agentforge/core) - Core abstractions
|
|
387
|
+
- [@agentforge/patterns](https://www.npmjs.com/package/@agentforge/patterns) - Agent patterns
|
|
388
|
+
- [@agentforge/tools](https://www.npmjs.com/package/@agentforge/tools) - Standard tools
|
|
389
|
+
- [@agentforge/cli](https://www.npmjs.com/package/@agentforge/cli) - CLI tool
|
|
390
|
+
|
|
361
391
|
## License
|
|
362
392
|
|
|
363
393
|
MIT
|
|
364
|
-
```
|
|
365
394
|
|
|
366
395
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentforge/testing",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Testing utilities and helpers for AgentForge framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@langchain/core": "^0.3.23",
|
|
22
22
|
"zod": "^3.24.1",
|
|
23
|
-
"@agentforge/core": "0.1.
|
|
24
|
-
"@agentforge/patterns": "0.1.
|
|
23
|
+
"@agentforge/core": "0.1.2",
|
|
24
|
+
"@agentforge/patterns": "0.1.2"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@eslint/js": "^9.17.0",
|