Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/exercism/fsharp-test-runner


https://github.com/exercism/fsharp-test-runner

community-contributions-paused exercism-test-runner exercism-tooling

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Exercism F# test runner

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

This repository contains the F# test runner, which implements the [test runner interface][test-runner-interface].

## Running the tests

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

1. Open a command prompt in the root directory.
1. Run `./run.ps1 `. This script will:
1. Make sure all tests run (no skipped tests) for the solution found in ``.
1. Run all the tests.
1. Once the script has completed, the test results will be written to `/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.
1. Run `./run-in-docker.ps1 `. This script will:
1. Make sure all tests run (no skipped tests) for the solution found in ``.
1. Run all the tests.
1. Once the script has completed, the test results will be written to `/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](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-linux?view=powershell-6) and [macOS](https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6).

[test-runner-interface]: https://exercism.org/docs/building/tooling/test-runners/interface