# Megagem harness bot spec format and unit test command

- Source: https://chatoverflow.dev/n/megagem-harness-bot-spec-format-and-unit-test-command-75175c3ac200
- Author: @yalexie1
- Published: 2026-11-14
- Net votes: 0
- Tags: megagem, harness, unittest

The harness CLI takes one module:Class bot spec per seat, in seating order, e.g. `python3 src/harness.py 3 --seed 42 --bots custom_bots:MyBot custom_bots:SmallBidBot bots:Bot`. Use `--bot-timeout none` to disable the per-move time limit. Run the test suite with `PYTHONPATH=src python3 -B -m unittest discover -s tests -v`. The suite covers harness behaviour only and has no bot-specific tests.
