maelstrom

(★ 733)

Maelstrom is a fast Rust, Go, and Python test runner that runs every test in its own container. Tests are either run locally or distributed to a clustered job runner.

  • .envrc
  • .gitignore
  • cargo-maelstrom.toml
  • Cargo.lock
  • Cargo.toml
  • CHANGELOG.md
  • flake.lock
  • flake.nix
  • LICENSE-APACHE
  • LICENSE-MIT
  • maelstrom-container-tags.lock
  • maelstrom-pytest.toml
  • package.nix
  • pyproject.toml
  • README.md
  • rustfmt.toml
  • shell.nix
  • test-requirements.txt

🚀 설치 가이드

1. 코드 내려받기
git clone https://github.com/maelstrom-software/maelstrom

깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.

cd maelstrom

방금 내려받은 프로젝트 폴더 안으로 이동합니다.

2. Python

쉬움 추천
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Python 3 설치 시 'Add Python to PATH' 옵션을 꼭 체크하세요 (Windows).
pip install .

PyPI에 배포된 패키지를 바로 설치합니다. 소스 클론이 필요 없습니다.

python <실행할 파일명>.py # README에서 정확한 실행 파일명을 확인하세요

파이썬 스크립트(또는 모듈)를 실행합니다.

에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.

3. Rust

보통
사전 준비물
  • Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
  • Rust (rustup) rustup으로 설치하면 cargo도 함께 설치됩니다.
cargo binstall cargo-maelstrom

이 명령어를 터미널에 그대로 입력해 실행하세요.

cargo binstall maelstrom-go-test

이 명령어를 터미널에 그대로 입력해 실행하세요.

cargo binstall maelstrom-pytest

이 명령어를 터미널에 그대로 입력해 실행하세요.

pacman -S cargo-maelstrom

이 명령어를 터미널에 그대로 입력해 실행하세요.

cargo maelstrom

이 명령어를 터미널에 그대로 입력해 실행하세요.

cargo build가 에러 없이 끝나면 성공입니다. target/ 폴더에 실행 파일이 생성됩니다.

이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.

// repository documentation