nim-testing

Community

Deterministically test Nim across modes and ASan.

Authorplanetis-m
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It helps you reliably verify Nim behavior with deterministic tests that catch both assertion failures and unsafe memory issues before they ship.

Core Features & Use Cases

  • Deterministic Nim test patterns: Use block scopes with doAssert and doAssertRaises for predictable pass/fail outcomes.
  • Consistent project test layout + runner: Provide an auto-discovering tests/tester.nim that compiles and runs all tests/t*.nim files.
  • Multi-configuration execution: Run the same suite in debug, release, and danger modes to surface configuration-specific issues.
  • Optional AddressSanitizer integration: Enable ASan via compiler and linker flags to detect invalid memory access.

Quick Start

Run the test runner from your project root with nim c -r tests/tester.nim.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: nim-testing
Download link: https://github.com/planetis-m/skills_experiment/archive/main.zip#nim-testing

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.