Copilot ac94839eb5 Add Unity-based unit test infrastructure (Phase 1 — 117 tests) (#177)
Introduced new system for unit tests based on the Unity framework.

Added tests for some of the simple functions in four different files.
2026-04-23 01:17:48 +02:00
2013-08-21 19:11:36 -04:00
2006-12-19 22:56:18 +00:00
2025-07-02 22:34:57 +02:00
2010-12-02 22:35:47 +00:00
2006-12-19 22:56:18 +00:00
2009-12-05 22:24:22 +00:00
2009-12-05 22:24:22 +00:00
2009-12-05 22:24:22 +00:00
2019-01-19 23:25:38 +00:00
2015-03-29 11:05:35 +01:00
2009-12-05 22:24:22 +00:00
2006-12-19 22:56:18 +00:00

Files for tbaMUD.

Unit Tests

tbaMUD ships with a C unit-test suite located in the tests/ directory. The suite uses the Unity test framework (vendored under tests/vendor/unity/).

Quick start

./configure
cd tests && make test

make test builds each test binary, runs it, and writes JUnit XML results to tests/test-results/. A summary is printed to the terminal:

[PASS] test_utils
[PASS] test_random
[PASS] test_interpreter
[PASS] test_class

CI

The GitHub Actions workflow (.github/workflows/build.yml) runs make test on every push and pull request against master and publishes a formatted report via the dorny/test-reporter action.

See doc/testing.md for full details on adding new tests and understanding the test infrastructure.

Description
Fork of tbamud for grenzland.club
Readme 18 MiB
Languages
C 73%
PLSQL 22.8%
Jupyter Notebook 2.3%
CMake 0.6%
DIGITAL Command Language 0.3%
Other 0.9%