Skip to content

refactor: restructure Zekr into smaller internal modules#4

Merged
brnrdog merged 1 commit intomainfrom
claude/restructure-zekr-modules-1PeQR
Jan 27, 2026
Merged

refactor: restructure Zekr into smaller internal modules#4
brnrdog merged 1 commit intomainfrom
claude/restructure-zekr-modules-1PeQR

Conversation

@brnrdog
Copy link
Owner

@brnrdog brnrdog commented Jan 27, 2026

Split the monolithic Zekr.res (749 lines) into well-defined internal modules:

  • Zekr__Types: Core type definitions (testResult, testMode, testCase, etc.)
  • Zekr__Colors: ANSI color utilities for console output
  • Zekr__Assert: All assertion functions (assertEqual, assertTrue, etc.)
  • Zekr__Runner: Test execution and reporting logic

The Zekr module remains the public API facade, re-exporting all types, assertions, and runner functions for backward compatibility.

@brnrdog brnrdog force-pushed the claude/restructure-zekr-modules-1PeQR branch from ddeeb68 to 97b5f78 Compare January 27, 2026 22:43
Split the monolithic Zekr.res into well-defined internal modules:

- Zekr__Types: Core type definitions (testResult, testMode, testCase, etc.)
- Zekr__Colors: ANSI color utilities for console output
- Zekr__Assert: All assertion functions (assertEqual, assertTrue, etc.)
- Zekr__Snapshot: Snapshot testing support with Node.js bindings
- Zekr__Runner: Test execution, reporting, and timeout handling

The Zekr module remains the public API facade, re-exporting all types,
assertions, snapshot functions, and runner functions for backward compatibility.
@brnrdog brnrdog force-pushed the claude/restructure-zekr-modules-1PeQR branch from 97b5f78 to 17ee2e2 Compare January 27, 2026 22:47
@brnrdog brnrdog marked this pull request as ready for review January 27, 2026 22:47
@brnrdog brnrdog merged commit 6c1b8dc into main Jan 27, 2026
2 checks passed
@brnrdog brnrdog deleted the claude/restructure-zekr-modules-1PeQR branch January 27, 2026 22:48
@github-actions
Copy link

🎉 This PR is included in version 1.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant