Skip to content

wintondeshong/AndcultureCode.CSharp.Testing

 
 

Repository files navigation

AndcultureCode.CSharp.Testing Build Status codecov

Commonly used CSharp testing code used at andculture.

Getting Started

This package is installed via NuGet

dotnet add [<PROJECT>] package AndcultureCode.CSharp.Testing

Documentation

Full API Documentation

Development Setup

Below are a few basics to get you started, but there are many more commands and options for managing this and other projects found in the and-cli.

Building project

  • Run the build command
    and-cli dotnet --build
    

Running tests along with code coverage

  • Run the test command
    and-cli dotnet-test
    
  • Open the coverage/index.htm file in your browser

Publishing a new version

Features

Factories

TODO: In-depth documentation on test factories

Configuration

Using the FactorySettings singleton class you can configure test factories. To access properties use the singleton instance FactorySettings.Instance.{property|method};

Debug (default: false)

To enable debug output set the Debug setting to true. Now warnings will be output via standard out for troubleshooting purposes. By default, only exceptional cases will be output.

Contributing

Information on contributing to this repo is in the Contributing Guide

About

Commonly used CSharp Automated Testing patterns and utilities

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%