Skip to content
Novus Examples

Explore the test library

Search files, editable visual templates, and live browser targets from one registry-backed directory. Filtered query views stay crawlable for links but are deliberately noindex; the stable taxonomy pages below remain the canonical search surfaces.

115 results

Page 5 of 5; 24 results per page.

Show the canonical directory
Preview of YAML Anchors and Aliases
yaml
749 B
Actual file preview for YAML Anchors and Aliases

YAML Anchors and Aliases

Anchors and aliases across mapping, sequence and scalar nodes, including an anchor nested inside another anchored node. The point most tooling misses: an alias is a reference to the same node, so a shallow-loading parser can share mutable state between jobs.

File
YAML · YAML Edge Cases
Preview of YAML Block Scalars and Chomping Indicators
yaml
1.1 KB
Actual file preview for YAML Block Scalars and Chomping Indicators

YAML Block Scalars and Chomping Indicators

Every block-scalar variation in one file: literal and folded styles, all three chomping indicators, an explicit indentation indicator, a folded block with a paragraph break, and an embedded shell-shaped script whose own indentation must survive.

File
YAML · YAML Edge Cases
Preview of YAML Bounded Anchor Reuse
yaml
648 B
Actual file preview for YAML Bounded Anchor Reuse

YAML Bounded Anchor Reuse

Nested anchor reuse kept deliberately small: two anchors, six references, thirty-one expanded nodes. It is here to test alias resolution and expansion accounting on a safe input, and is explicitly not a billion-laughs expansion bomb.

File
YAML · YAML Edge Cases
Preview of YAML Directives and Comments
yaml
658 B
Actual file preview for YAML Directives and Comments

YAML Directives and Comments

A two-document stream where each document declares its own %YAML directive and the second adds a %TAG handle used by a local tag. Comments appear in every position they are legal, and every one of them is lost by a non-round-tripping loader.

File
YAML · YAML Edge Cases
Preview of YAML Duplicate Keys
yaml
708 B
Actual file preview for YAML Duplicate Keys

YAML Duplicate Keys

Duplicate keys at three nesting levels, including a duplicated top-level sequence. The spec forbids them; most loaders keep the last silently, a few keep the first, and strict linters reject the document. The file publishes the last-wins answer.

File
YAML · YAML Edge Cases
Preview of YAML Explicit and Local Tags
yaml
778 B
Actual file preview for YAML Explicit and Local Tags

YAML Explicit and Local Tags

Explicit tags across the standard set — !!str, !!float, !!int, !!bool, !!null, !!binary, !!timestamp, !!omap, !!set — alongside two application-local ! tags. CI dialects use local tags in the wild, so a pipeline parser has to decide whether to reject, ignore, or resolve them.

File
YAML · YAML Edge Cases
Preview of YAML Flow and Block Styles
yaml
750 B
Actual file preview for YAML Flow and Block Styles

YAML Flow and Block Styles

Flow (JSON-like) and block collections expressing the same structures, nested inside one another in both directions, plus a flow mapping wrapped across lines and a line of strict JSON — which is valid YAML, and a useful check on a parser's JSON-subset claim.

File
YAML · YAML Edge Cases
Preview of YAML Implicit Typing Traps
yaml
1 KB
Actual file preview for YAML Implicit Typing Traps

YAML Implicit Typing Traps

Twenty-two unquoted values whose type depends entirely on the resolver. The worst is the leading zero: 0755 is 493 under YAML 1.1 and 755 under YAML 1.2, so both resolvers return a number and they return different ones. Also covers base-60 times, a version that loses its trailing zero, an integer past IEEE-754 precision, dates, and .inf / .nan.

File
YAML · YAML Edge Cases
Preview of YAML Indentation Variants
yaml
640 B
Actual file preview for YAML Indentation Variants

YAML Indentation Variants

The indentation styles that all parse identically and that formatters fight over: sequences flush with their key versus indented under it, two-space against four-space maps, and deliberately irregular but legal nesting. For testing formatters and idempotency.

File
YAML · YAML Edge Cases
Preview of YAML Merge Keys and Precedence
yaml
915 B
Actual file preview for YAML Merge Keys and Precedence

YAML Merge Keys and Precedence

Merge keys with their full precedence rules: local keys beat merged ones, and in a merge sequence the earlier alias wins. The file publishes the expected merged values, and a strict YAML 1.2 loader produces none of them because 1.2 dropped << from the core schema.

File
YAML · YAML Edge Cases
Preview of YAML Multi-Document Stream
yaml
587 B
Actual file preview for YAML Multi-Document Stream

YAML Multi-Document Stream

A five-document stream with explicit end markers, a comment-only document that loads as null, and a bare sequence as a whole document. The single-document API returns only the first, which is how multi-object manifests silently lose objects.

File
YAML · YAML Edge Cases
Preview of YAML Non-ASCII Keys and Values
yaml
719 B
Actual file preview for YAML Non-ASCII Keys and Values

YAML Non-ASCII Keys and Values

Non-ASCII keys and values across Latin, Cyrillic, Arabic, CJK and emoji, plus a key containing a zero-width space and a value distinguishing a combining acute from the precomposed character. Written as UTF-8 with no BOM.

File
YAML · YAML Edge Cases · UTF-8, no BOM
Preview of YAML Norway Problem (Boolean Coercion)
yaml
916 B
Actual file preview for YAML Norway Problem (Boolean Coercion)

YAML Norway Problem (Boolean Coercion)

The Norway problem in full: eleven bare words that a YAML 1.1 resolver turns into booleans, a matching quoted control group that survives, and a country-code list where position two silently becomes false. The definitive fixture for resolver-version behaviour.

File
YAML · YAML Edge Cases
Preview of YAML Null and Empty Values
yaml
564 B
Actual file preview for YAML Null and Empty Values

YAML Null and Empty Values

Five spellings of null against the things routinely confused with it: empty strings, empty collections, and a key written with no value at all. Includes a sequence containing a hole, an empty string and two nulls in a row.

File
YAML · YAML Edge Cases
Preview of YAML Quoting Styles and Escapes
yaml
1.1 KB
Actual file preview for YAML Quoting Styles and Escapes

YAML Quoting Styles and Escapes

All three scalar quoting styles side by side: plain scalars and what they cannot contain, single quotes where backslashes stay literal and '' means one quote, and double quotes as the only style that processes \t, \n and \uXXXX escapes.

File
YAML · YAML Edge Cases
Preview of YAML Unclosed Flow Collection, Intentionally Invalid
yaml
543 B
Actual file preview for YAML Unclosed Flow Collection, Intentionally Invalid

YAML Unclosed Flow Collection, Intentionally Invalid

An intentionally invalid YAML file whose flow sequence is opened and never closed, so the parser consumes the rest of the document and fails at end of stream. A good error message names the opening bracket, not the last line, which is what this fixture measures.

File
YAML · YAML Edge Cases
Preview of YAML with a UTF-8 Byte Order Mark
yaml
370 B
Actual file preview for YAML with a UTF-8 Byte Order Mark

YAML with a UTF-8 Byte Order Mark

A YAML file beginning with a UTF-8 byte order mark, which the spec permits at the start of a stream. A parser that does not strip it reads the first key as \ufeffname, so the lookup misses and the document appears to be missing its name field.

File
YAML · YAML Edge Cases · UTF-8 with BOM
Preview of YAML with CRLF Line Endings
yaml
651 B
Actual file preview for YAML with CRLF Line Endings

YAML with CRLF Line Endings

A YAML file written with CRLF line endings, which the spec accepts as a line break. A parser that splits on \n alone leaves a stray carriage return at the end of every plain scalar, so "build" becomes "build\r" and equality checks quietly fail.

File
YAML · YAML Edge Cases · UTF-8, no BOM
Preview of YAML with TAB Indentation, Intentionally Invalid
yaml
447 B
Actual file preview for YAML with TAB Indentation, Intentionally Invalid

YAML with TAB Indentation, Intentionally Invalid

An intentionally invalid YAML file indented with real TAB characters, which the spec forbids for indentation. The final key shows the legal case — a tab inside a quoted scalar — so a parser can be checked for rejecting one without rejecting the other.

File
YAML · YAML Edge Cases