Giter Site home page Giter Site logo

faisalafroz / csharp-test-runner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from exercism/csharp-test-runner

0.0 0.0 1.0 213 KB

An experimental test runner for Exercism's C# Track

License: GNU Affero General Public License v3.0

Dockerfile 1.36% PowerShell 6.78% Shell 0.10% C# 91.76%

csharp-test-runner's Introduction

Exercism C# test runner

A test runner automatically verifies if a submission passes all the tests.

This repository contains the C# test runner, which implements the test runner interface.

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> <input-directory> <output-directory>. This script will:
    1. Make sure all tests run (no skipped tests) for the solution found in <input-directory>.
    2. Run all the tests.
    3. Once the script has completed, the test results will be written to <output-directory>/results.json.

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> <input-directory> <output-directory>. This script will:
    1. Make sure all tests run (no skipped tests) for the solution found in <input-directory>.
    2. Run all the tests.
    3. Once the script has completed, the test results will be written to <output-directory>/results.json.

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.

csharp-test-runner's People

Contributors

dependabot[bot] avatar dgee2 avatar erikschierboom avatar exercism-bot avatar faisalafroz avatar ihid avatar jrr avatar kgorbenko-sanctioned avatar peterschussheim avatar saschamann avatar umaranis avatar

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.