Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/exercism/fortran-test-runner
https://github.com/exercism/fortran-test-runner
community-contributions-paused exercism-test-runner exercism-tooling
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/exercism/fortran-test-runner
- Owner: exercism
- License: agpl-3.0
- Created: 2021-06-13T19:21:51.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-25T06:40:01.000Z (8 months ago)
- Last Synced: 2024-05-01T11:25:16.594Z (8 months ago)
- Topics: community-contributions-paused, exercism-test-runner, exercism-tooling
- Language: Fortran
- Homepage:
- Size: 93.8 KB
- Stars: 2
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/pclausen/fortran-test-runner)
# Exercism Fortran Test Runner
Docker image used for automatic testing of the Fortran track's exercises.
This test runner, much like the ones for other tracks, **must** respect the [specified interface][test-runner-interface].
Since the test runners are deployed as Docker images the [related specification][test-runner-docker] **must** be respected for the Dockerfile.
# Running tests
To run tests:
1. Open project's root in terminal
2. Run `./test.sh`This will compile and run tests for all exercises in the `tests` folder, it will fail if the output file `result.json` is different from the expected one for the exercise.
If you want to run specific tests:
1. Open project's root in terminal
2. Run `./test.sh `In both cases you can show more informations, like Docker output, by using the flag `-v` or `--verbose`.
# How it works
On the Fortran track we use CMake for building the exercises.
[test-runner-interface]: https://exercism.org/docs/building/tooling/test-runners/interface
[test-runner-docker]: https://exercism.org/docs/building/tooling/test-runners/docker
[cmake]: https://cmake.org/
[catch-lib]: https://github.com/catchorg/Catch2
[junit]: https://junit.org/junit5/
[junitparser-lib]: https://github.com/gastlygem/junitparser