docs: added documentation on testing tools (#8939)

- Added documentation on how to use Medusa's tools from the `medusa-test-utils` package to create integration and unit tests.
- Added a manual reference on the `medusaIntegrationTestRunner` and `moduleIntegrationTestRunner` functions. Since the typings in the source code aren't very informative, I opted for a manual reference shedding light on the important bits.

Closes DOCS-852
This commit is contained in:
Shahed Nasser
2024-09-03 14:50:45 +00:00
committed by GitHub
parent e9fce4c5c2
commit 58f297cc75
18 changed files with 1125 additions and 76 deletions
+34
View File
@@ -13987,6 +13987,40 @@ export const generatedSidebar = [
"initialOpen": false
}
]
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "Testing Tools Reference",
"path": "/test-tools-reference",
"isChildSidebar": true,
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "category",
"title": "Functions",
"children": [
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "medusaIntegrationTestRunner",
"path": "/test-tools-reference/medusaIntegrationTestRunner",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "moduleIntegrationTestRunner",
"path": "/test-tools-reference/moduleIntegrationTestRunner",
"children": []
}
]
}
]
}
]
},