feat: rename project from Validatrix to Nimcheck across all files and add CI pipeline
Rename the entire project from "Validatrix" to "Nimcheck" in README.md, Makefile, LESSONS_LEARNED.md, and all source references; add initial Gitea CI workflow with lint, test, and build jobs for Nim 2.0.0; expand .gitignore with comprehensive patterns for Nim, Python, editor, environment, and temporary files; add CONTRIBUTING.md and LICENSE (MIT) files to establish project governance and licensing.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
## Validatrix master test runner.
|
||||
## Nimcheck master test runner.
|
||||
## Compile: nim c -r tests/test_all.nim
|
||||
|
||||
import ./test_nim
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
## Bash language validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
## Common test patterns for Validatrix tests.
|
||||
## Common test patterns for Nimcheck tests.
|
||||
## This module provides code snippets used across test suites.
|
||||
## Import it, then reference the const values directly.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Config file (JSON, YAML, TOML) validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
## Fuzz testing module -- Validatrix against random, binary, and malicious inputs.
|
||||
## Fuzz testing module -- Nimcheck against random, binary, and malicious inputs.
|
||||
## Auto-generated. Tests framework robustness, never-crash guarantee.
|
||||
|
||||
import std/[unittest, strutils, strformat, math, sequtils]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
const allLangs* = [lfNim, lfBash, lfPython, lfJavaScript, lfPHP, lfHTML, lfJinja, lfJSON, lfYAML, lfTOML]
|
||||
const threeLangs* = [lfNim, lfPython, lfJSON]
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
## HTML language validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## JavaScript language validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Jinja template validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Mixed template file (Jinja + HTML) validator tests.
|
||||
|
||||
import std/[unittest, strutils]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
suite "Mixed File Validator":
|
||||
test "validateFile on .html.j2 mixed file":
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
## Nim language validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
## PHP language validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
## Python language validator tests.
|
||||
|
||||
import std/[unittest, strutils, strformat]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
import test_common
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
## nesting extremes, unicode bombs, binary injection, and more.
|
||||
|
||||
import std/[unittest, strutils, strformat, json]
|
||||
import ../src/validatrix
|
||||
import ../src/nimcheck
|
||||
|
||||
proc checkValid(result: ValidationResult, context: string = "") =
|
||||
if result.errors.len > 0:
|
||||
|
||||
Reference in New Issue
Block a user