docs: document MinimalLambda.Testing package and enhance testing guide#235
Merged
Conversation
- Updated references in multiple README files to include MinimalLambda.Testing. - Added badges for MinimalLambda.Testing with links to NuGet package and download stats.
- Expanded testing guide with in-depth MinimalLambda.Testing documentation. - Added quick start, invocation API details, and host customization patterns. - Updated `index.md` with reference to MinimalLambda.Testing for in-memory tests. - Linked `README.md` to the testing guide for detailed examples.
…ection - Updated `index.md` to include reference to MinimalLambda.Testing for integration testing.
- Added warning section to highlight issues with shared LambdaApplicationFactory. - Provided best practices for avoiding overlapping factory instances and side effects. - Emphasized using consistent patterns for test class/collection and proper cleanup.
…g use cases - Added detailed examples for error handling, middleware, and concurrent invocation testing. - Documented lifecycle hook testing patterns such as OnInit and OnShutdown scenarios. - Introduced performance testing guidance, including cold start and timeout testing. - Clarified usage of custom DI containers and JSON serialization options. - Included reference to the full MinimalLambda.Testing suite for comprehensive examples.
- Updated the `<Version>` property in `Directory.Build.props` from 2.0.0-beta.5 to 2.0.0-beta.6.
|
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #235 +/- ##
=======================================
Coverage 87.91% 87.91%
=======================================
Files 122 122
Lines 2864 2864
Branches 334 334
=======================================
Hits 2518 2518
Misses 216 216
Partials 130 130 Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



🚀 Pull Request
📋 Summary
This PR comprehensively documents the MinimalLambda.Testing package and significantly enhances the testing guide with advanced examples and best practices.
Key Changes:
✅ Checklist
🧪 Related Issues or PRs
N/A - Documentation enhancement
💬 Notes for Reviewers
This is primarily a documentation update focused on the MinimalLambda.Testing package. The testing guide now includes: