Giter Club home page Giter Club logo

xunit.dataattributes's Introduction

xUnit custom data attributes

Build status Test status codecov NuGet Version NuGet Downloads

Custom data attributes for xUnit, including attributes that provide various types of data from embedded resource and files.

Text content data attributes

Content data attributes provide various types of data from different text sources. Currently, two sources are supported - embedded resources in .NET assemblies and files.

Type of data Source: Assembly embedded resource Source: File on file system
Whole text content as the data. EmbeddedResourceContentAttribute FileContentAttribute
Lines from the text content as the data. EmbeddedResourceLinesAttribute FileLinesAttribute
Text content as JSON, where the whole content is deserialized to a .NET type. EmbeddedResourceAsJsonAttribute FileAsJsonAttribute
Text content as JSON, where JSON arrays are deconstructed and each item is a data item. EmbeddedResourceAsJsonDeconstructedAttribute FileAsJsonDeconstructedAttribute

xunit.dataattributes's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar jeevanjames avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

marcosreis16

xunit.dataattributes's Issues

Add attributes for reading binary data

Add data attributes for reading binary data, as a byte[] from assembly embedded resources, files and other supported data sources.

Suggestion
Generalize the existing base classes to be able to specify the type of content (could be string for the existing classes or byte[] for binary data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.