micro-elements - MicroElements.AutoFixture.NodaTime 0.1.0

AutoFixture NodaTime generators

PM> Install-Package MicroElements.AutoFixture.NodaTime -Version 0.1.0 -Source https://www.myget.org/F/micro-elements/api/v3/index.json

Copy to clipboard

> nuget.exe install MicroElements.AutoFixture.NodaTime -Version 0.1.0 -Source https://www.myget.org/F/micro-elements/api/v3/index.json

Copy to clipboard

> dotnet add package MicroElements.AutoFixture.NodaTime --version 0.1.0 --source https://www.myget.org/F/micro-elements/api/v3/index.json

Copy to clipboard
<PackageReference Include="MicroElements.AutoFixture.NodaTime" Version="0.1.0" />
Copy to clipboard
source https://www.myget.org/F/micro-elements/api/v3/index.json

nuget MicroElements.AutoFixture.NodaTime  ~> 0.1.0
Copy to clipboard

> choco install MicroElements.AutoFixture.NodaTime --version 0.1.0 --source https://www.myget.org/F/micro-elements/api/v2

Copy to clipboard
Import-Module PowerShellGet
Register-PSRepository -Name "micro-elements" -SourceLocation "https://www.myget.org/F/micro-elements/api/v2"
Install-Module -Name "MicroElements.AutoFixture.NodaTime" -RequiredVersion "0.1.0" -Repository "micro-elements" 
Copy to clipboard

MicroElements.AutoFixture.NodaTime

Autogenerating NodaTime types with AutoFixture

Statuses

License NuGetVersion NuGetDownloads MyGetVersion

Travis

Gitter

Installation

Package Reference:

dotnet add package MicroElements.AutoFixture.NodaTime

Build

Windows: Run build.ps1

Linux: Run build.sh

Usage

Add NodaTimeCustomization to Fixture:

var localDate = new Fixture()
    .Customize(new NodaTimeCustomization())
    .Create<LocalDate>();

Supported types

  • LocalDate
  • LocalTime
  • LocalDateTime
  • OffsetDate
  • OffsetTime
  • OffsetDateTime
  • YearMonth
  • AnnualDate
  • DateInterval
  • Interval
  • Period
  • Duration
  • DateTimeZone
  • ZonedDateTime

License

This project is licensed under the MIT license. See the LICENSE file for more info.

  • .NETStandard 2.0
    • AutoFixture (>= 4.5.0)
    • NodaTime (>= 2.4.0)
  • .NETStandard 2.0: 2.0.0.0

Owners

Alexey Petryashev

Authors

micro-elements

Project URL

https://github.com/micro-elements/MicroElements.AutoFixture.NodaTime.git

License

Unknown

Tags

AutoFixture NodaTime MicroElements

Info

41 total downloads
9 downloads for version 0.1.0
Download (5.7 KB)
Found on the current feed only

Package history

Version Size Last updated Downloads Mirrored?
1.0.0 13.22 KB Sun, 30 May 2021 09:22:31 GMT 8
1.0.0-rc.1 13.22 KB Sat, 22 May 2021 16:32:11 GMT 8
0.3.0 6.17 KB Mon, 20 Apr 2020 09:53:51 GMT 9
0.2.0 6.14 KB Mon, 20 Apr 2020 09:51:48 GMT 7
0.1.0 5.7 KB Mon, 25 Feb 2019 20:03:45 GMT 9