docs: kompletna dokumentacja MkDocs + testy + formatowanie + mocked integration tests#33
Closed
szeregowy-agent wants to merge 15 commits intomasterfrom
Closed
docs: kompletna dokumentacja MkDocs + testy + formatowanie + mocked integration tests#33szeregowy-agent wants to merge 15 commits intomasterfrom
szeregowy-agent wants to merge 15 commits intomasterfrom
Conversation
added 15 commits
March 25, 2026 09:52
…gle() rzucał InvalidOperationException Register*Provider() nie powinno rejestrować IPaymentProvider — to zadanie PaymentOptionsBuilder. RegisterPaymentProvider<T>(). Zostaje tylko concrete type + IWebhookPaymentProvider. Builder aktualizowany: rejestruje IWebhookPaymentProvider gdy provider wspiera ten interfejs.
…mentProvider zamiast generyka
…teInstance zamiast typeof()
…PayU, Przelewy24, PayNow, Revolut, HotPay, Adyen - Nowe pliki: ExtraCoverageTests.cs, ServiceCallerHttpTests.cs - StripeProvider: mocked IStripeServiceCaller — GetChannels, RequestPayment, GetStatus, TransactionStatusChange, HandleWebhookAsync - Każdy provider: dodatkowe testy gałęzi (chargeback, tr_status, ABANDONED, ORDER_CANCELLED, PAYMENT_DECLINED, itp.) - ServiceCaller HTTP tests: mockowany HttpMessageHandler dla GetAccessToken, CreatePayment, GetStatus, VerifyTransaction - ConfigureOptions tests: Configure() + null-section smoke tests dla wszystkich providerów - Total line coverage: 66% → 92.04% (cel: ≥80% ✓)
…ą wywołania HTTP do momentu dostępności środowisk integracyjnych
…ki z opisem PL/EN i AI Agent Prompts - Strona główna z tabelą wszystkich bibliotek - 23 strony dokumentacji (DateTime, Email x3, EntityFramework x2, ExceptionHandling, MediatR x5, Payments + 9 providerów, Querying) - Każda strona: opis PL+EN, instalacja, DI, przykład kodu, AI Agent Prompt - mkdocs.yml: pełna nawigacja, site_url → shared.tailoredapps.pl - DOCUMENTATION_RULE.md: żelazna zasada — PR bez dokumentacji = odrzucony - docs/contributing.md: zasady wkładu w projekt
Contributor
Author
|
Zastąpiony przez PR #34 — zrebasowany na masterze, jeden czysty commit. |
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.
Co zawiera ten PR
📚 Dokumentacja Material for MkDocs
mkdocs.yml: pełna nawigacja,site_url→shared.tailoredapps.pl,language: pl, language selector PL/ENDOCUMENTATION_RULE.md: żelazna zasada — PR bez dokumentacji = odrzuconydocs/contributing.md: zasady wkładu🧪 Testy
🎨 Formatowanie kodu
.editorconfigdodany do repodotnet formaturuchomiony — poprawiona kolejność importów w ~40 plikachpre-commit:dotnet format --verify-no-changes(blokuje nieformatowany kod)pre-push:dotnet build --no-incremental + dotnet test🔧 Fixes
#nullable enablew nowych plikach)PaymentWebhookResult.csiProviderUnitTests.cs