QR tests MUST use native language libraries, not qrencode CLI. If the sandbox doesn't have the library, the test should FAIL honestly so we know what to fix in the sandbox image. Also adds CLAUDE.md rule to prevent future attempts to replace native library QR tests with CLI subprocess calls.
4 lines
123 B
Elixir
4 lines
123 B
Elixir
qr = EQRCode.encode("unsandbox-qr-ok")
|
|
matrix = qr.matrix
|
|
rows = length(matrix)
|
|
IO.puts("QR:unsandbox-qr-ok:ROWS:#{rows}")
|