Skip to content

micro-elements/MicroElements.AutoFixture.NodaTime

Repository files navigation

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.

About

AutoFixture NodaTime generators

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •