Skip to content

Commit 78cd587

Browse files
committed
Added links and readme
1 parent 95e5cd4 commit 78cd587

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

AutoFixtureXUnit/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Anonymous test data with AutoFixture
2+
3+
Often times we have unit or integration tests that rely on some input data. The easiest solution is just to take some hard-coded values and move on with life. This has some major downsides:
4+
5+
Giving specific values in a test carries meaning, but we are often times not interested in that. We just need to pass the object around to fulfill the API. Also, the simplest solution to fulfill your test is literally checking against those values.
6+
7+
Here is an elegant solution to that problem: `AutoFixture`. I will show you what it can do, especially in combination with `xUnit`.
8+
9+
Found [here](https://steven-giesel.com/blogPost/0a7d1bff-6c97-4d98-97cf-d72cd2b3888e)

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Contains all of my examples from various blog posts. You can find a comprehensiv
44

55
| BlogPost | Publish Date |
66
| ---------------------------------------------------------------------------------------- | ------------ |
7+
| [Anonymous test data with AutoFixture](AutoFixtureXUnit/) | 19.11.2022 |
78
| [LiteDB - A .NET embedded NoSQL database](LiteDatabase/) | 19.10.2022 |
89
| [Cursed C# - Doing shenanigans in C#](CursedCSharp/) | 15.10.2022 |
910
| [Introduction to WebApplicationFactory](WebAppFactory/) | 02.10.2022 |

0 commit comments

Comments
 (0)