{"id":19751986,"url":"https://github.com/romfos/testfixture","last_synced_at":"2025-10-23T17:26:03.040Z","repository":{"id":61112249,"uuid":"543669751","full_name":"Romfos/TestFixture","owner":"Romfos","description":"Small fixture library. Test data generator for arrange section of unit test.","archived":false,"fork":false,"pushed_at":"2024-05-17T18:03:16.000Z","size":135,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-17T19:23:17.014Z","etag":null,"topics":["csharp","dotnet","fixture","tests","unit-test"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Romfos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-30T15:37:29.000Z","updated_at":"2024-05-17T19:23:17.270Z","dependencies_parsed_at":"2024-01-13T11:48:59.520Z","dependency_job_id":"7118fbeb-a358-4d70-8dfc-f284a65ff215","html_url":"https://github.com/Romfos/TestFixture","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romfos%2FTestFixture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romfos%2FTestFixture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romfos%2FTestFixture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Romfos%2FTestFixture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Romfos","download_url":"https://codeload.github.com/Romfos/TestFixture/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241084166,"owners_count":19907065,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["csharp","dotnet","fixture","tests","unit-test"],"created_at":"2024-11-12T02:46:59.172Z","updated_at":"2025-10-23T17:26:03.036Z","avatar_url":"https://github.com/Romfos.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nSmall fixture library for unit tests\n\n[![.github/workflows/verify.yml](https://github.com/Romfos/TestFixture/actions/workflows/verify.yml/badge.svg)](https://github.com/Romfos/TestFixture/actions/workflows/verify.yml)\n[![TestFixture](https://img.shields.io/nuget/v/TestFixture?label=TestFixture)](https://www.nuget.org/packages/TestFixture)\n\n# Example\n\n```csharp\n\n[TestMethod]\npublic void ExampleTest()\n{\n    // arrange\n    var underTest = new MyService();\n    \n    var fixture = new Fixture();\n    var testData = fixture.Create\u003cstring[]\u003e();\n\n    // act\n    var actual = underTest.Add(testData);\n\n    // assert\n    Assert.AreEqual(3, actual);\n}\n\n```\n\n# Nuget\n\nhttps://www.nuget.org/packages/TestFixture\n\n# Supported Types\n\n- BCL types:\n\n| Category     | Types                                                                                          |\n|--------------|------------------------------------------------------------------------------------------------|\n| Primitives   | byte, sbyte, short, ushort, int, uint, long, ulong, float, double, decimal, char, string, bool |\n| System types | Enum, Guid, Uri, Nullable\u003c\u003e                                                                    |\n| Date \u0026 Time  | TimeSpan, DateTime, DateTimeOffset, TimeOnly (.NET 6+), DateOnly (.NET 6+)                     |\n\n- Collections:\n\n| Generic               | Immutable                    | Concurrent              | Frozen (.NET 8+)    |\n|-----------------------|------------------------------|-------------------------|---------------------|\n| Array[]               | ImmutableArray\u003c\u003e             | ConcurrentBag\u003c\u003e         | FrozenDictionary\u003c,\u003e |\n| Collection\u003c\u003e          | ImmutableDictionary\u003c,\u003e       | ConcurrentDictionary\u003c,\u003e | FrozenSet\u003c\u003e         |\n| Dictionary\u003c,\u003e         | ImmutableHashSet\u003c\u003e           | ConcurrentQueue\u003c\u003e       |                     |\n| HashSet\u003c\u003e             | ImmutableList\u003c\u003e              | ConcurrentStack\u003c\u003e       |                     |\n| ICollection\u003c\u003e         | ImmutableQueue\u003c\u003e             |                         |                     |\n| IDictionary\u003c,\u003e        | ImmutableSortedDictionary\u003c,\u003e |                         |                     |\n| IEnumerable\u003c\u003e         | ImmutableSortedSet\u003c\u003e         |                         |                     |\n| IAsyncEnumerable\u003c\u003e    | ImmutableStack\u003c\u003e             |                         |                     |\n| IList\u003c\u003e               | IImmutableDictionary\u003c,\u003e      |                         |                     |\n| LinkedList\u003c\u003e          | IImmutableList\u003c\u003e             |                         |                     |\n| List\u003c\u003e                | IImmutableQueue\u003c\u003e            |                         |                     |\n| Queue\u003c\u003e               | IImmutableStack\u003c\u003e            |                         |                     |\n| ReadOnlyCollection\u003c\u003e  |                              |                         |                     |\n| SortedDictionary\u003c,\u003e   |                              |                         |                     |\n| SortedList\u003c,\u003e         |                              |                         |                     |\n| SortedSet\u003c\u003e           |                              |                         |                     |\n| Stack\u003c\u003e               |                              |                         |                     |\n| IReadOnlyCollection\u003c\u003e |                              |                         |                     |\n| IReadOnlyList\u003c\u003e       |                              |                         |                     |\n| IQueryable\u003c\u003e          |                              |                         |                     |\n\n- Composition of supported types in class, record, struct (inject method: first constructor, public set properties, public fields)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromfos%2Ftestfixture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromfos%2Ftestfixture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromfos%2Ftestfixture/lists"}