Research XUnit for C# testing #169

Closed
opened 2026-04-08 07:09:39 +00:00 by a24vinla · 5 comments
Collaborator

We need to understand and document XUnit.

Parent Issue: #104
Related Issue: #170

We need to understand and document XUnit. Parent Issue: #104 Related Issue: #170
a24vinla removed their assignment 2026-04-08 07:42:11 +00:00
Collaborator

Added to wiki on how to get started, the page is not finished. Need proper formating and some guidance from project leader.
Wiki.

Added to wiki on how to get started, the page is not finished. Need proper formating and some guidance from project leader. [Wiki](https://git.webug.se/Andras/BoundlessFlowCampus2K/wiki/xUnit).
Collaborator

After some discussion with project leader, I concider the wiki to be complete and requesting review.

After some discussion with project leader, I concider the wiki to be complete and requesting review.
Collaborator

I compared the current xUnit wiki to the "Unit testing" wiki and it looks good as a setup and usage guide as it clearly shows how to set up and run tests.

One thing we could consider is adding a [Theory] example if that would be useful for our project, since we already have [Fact] example. Also since the xUnit wiki contain basically no information about how to actually write good tests it might be helpful to link the unit testing wiki that contain all the conventions, rules and best practices so the two wikis can complement each other.

overall the page works well for its purpose.

I compared the current xUnit wiki to the "Unit testing" wiki and it looks good as a setup and usage guide as it clearly shows how to set up and run tests. One thing we could consider is adding a [Theory] example if that would be useful for our project, since we already have [Fact] example. Also since the xUnit wiki contain basically no information about how to actually write good tests it might be helpful to link the unit testing wiki that contain all the conventions, rules and best practices so the two wikis can complement each other. overall the page works well for its purpose.
Collaborator

Good thinking! I could add the link tomorrow. I can have a discussion with the team leaders about "[Theory] example", but I linked the source so anyone can check it since there are "alot" of "Assert methods" and examples. The async example was added due to another issue since we are mainly going to use that one (so far).

Good thinking! I could add the link tomorrow. I can have a discussion with the team leaders about "[Theory] example", but I linked the source so anyone can check it since there are "alot" of "Assert methods" and examples. The async example was added due to another issue since we are mainly going to use that one (so far).
Collaborator

Added an "Introduction" section to let the reader know that it is a setup-guide, I talked to the team leaders and for now we will keep the link and perhaps in the future expand the wiki (if needed).

Thank you for the review.

Added an "Introduction" section to let the reader know that it is a setup-guide, I talked to the team leaders and for now we will keep the link and perhaps in the future expand the wiki (if needed). Thank you for the review.
Sign in to join this conversation.
No milestone
No project
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K#169
No description provided.