/csharp-test-runner

An experimental test runner for Exercism's C# Track

Primary LanguageC#MIT LicenseMIT

Exercism C# test runner

The Docker image for running C# solutions submitted to Exercism.

Running the tests

To run a solution's tests, follow these steps:

  1. Open a command prompt in the root directory.
  2. Run ./run.ps1 <exercise> <directory>. This script will:
    1. Make sure all tests run (no skipped tests).
    2. Run all the tests.

Running the tests using Docker

To run a solution's tests using a Docker container, follow these steps:

  1. Open a command prompt in the root directory.
  2. Run ./run-in-docker.ps1 <exercise> <directory>. This script will:
    1. Make sure all tests run (no skipped tests).
    2. Run all the tests.

Scripts

The scripts in this repository are written in PowerShell. As PowerShell is cross-platform nowadays, you can also install it on Linux and macOS.