Reorganize folder structure and add XUnit test framework#8
Merged
Conversation
Co-authored-by: lqdev <11130940+lqdev@users.noreply.github.com>
Co-authored-by: lqdev <11130940+lqdev@users.noreply.github.com>
Co-authored-by: lqdev <11130940+lqdev@users.noreply.github.com>
Co-authored-by: lqdev <11130940+lqdev@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Organize folder structure and add XUnit testing framework
Reorganize folder structure and add XUnit test framework
Jan 24, 2026
lqdev
marked this pull request as ready for review
January 24, 2026 21:48
There was a problem hiding this comment.
Pull request overview
Reorganizes the repository into standard src/ and tests/ layout and introduces an XUnit-based test project for the WebmentionFs library.
Changes:
- Moved library sources into
src/WebmentionFs/and createdtests/WebmentionFs.Tests/with XUnit on .NET 8. - Added
WebmentionFs.slnxsolution for building/testing the whole repo. - Updated README and
test.fsxto reflect new structure and test commands.
Reviewed changes
Copilot reviewed 5 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/WebmentionFs.Tests/WebmentionFs.Tests.fsproj | Adds XUnit test project referencing the main library. |
| tests/WebmentionFs.Tests/Tests.fs | Introduces initial unit tests for core domain types. |
| test.fsx | Updates referenced DLL path to match new src/ structure. |
| src/WebmentionFs/WebmentionValidationService.fs | Adds/relocates webmention content validation logic under src/. |
| src/WebmentionFs/WebmentionSenderService.fs | Adds/relocates sender service for endpoint delivery under src/. |
| src/WebmentionFs/WebmentionReceiverService.fs | Adds/relocates receiver service composing request + content validation. |
| src/WebmentionFs/WebmentionFs.fsproj | New project file under src/ with package metadata and compile includes. |
| src/WebmentionFs/Utils.fs | Adds/relocates shared HTTP/form/HTML helper utilities. |
| src/WebmentionFs/UrlDiscoveryService.fs | Adds/relocates endpoint discovery implementation under src/. |
| src/WebmentionFs/RequestValidationService.fs | Adds/relocates request validation logic and error handling. |
| src/WebmentionFs/Domain.fs | Adds/relocates core domain/result types. |
| src/WebmentionFs/Constants.fs | Adds/relocates constants (selectors, error messages, etc.). |
| WebmentionFs.slnx | Adds solution file organizing src and tests projects. |
| README.md | Documents new folder structure and build/test instructions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This was referenced Jan 24, 2026
Copilot AI
added a commit
that referenced
this pull request
Jan 24, 2026
…re from PR #8 Co-authored-by: lqdev <11130940+lqdev@users.noreply.github.com>
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.
Reorganizes repository to follow F# project conventions with separate
src/andtests/directories. Adds XUnit test infrastructure with initial domain type tests.Changes
src/WebmentionFs/, createdtests/WebmentionFs.Tests/WebmentionFs.slnx(XML format) with logical folder organizationtest.fsxpath referenceStructure
Build
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.