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
@@ -4,10 +4,9 @@ export const metadata = {
# {metadata.title}
In the next chapters, youll find some tips when debugging and testing your customizations in the Medusa application.
In the next chapters, youll learn about the tools Medusa provides for testing and debugging your Medusa application.
By the end of this chapter, youll learn:
- How to use Medusa's `medusa-test-utils` test to write integration tests.
- How to use Medusas `Logger` utility to log messages.
- What tools to use for testing and debugging.
- What feature flags are and how to enable them.