You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Zig language reference (documentation) has many code samples implemented in tests (Zig's Test tool). However, the Zig Test tool is introduced and documented much later, further down, in the Zig documentation. New Zig users may not know about this section as they read the documentation and miss an opportunity to understand the syntax and tool.
Proposal
Two options:
Move the Zig Test section before any usages of the Zig test tool.
Before any usage of the Zig test tool, introduce the test syntax and basic usage of the Zig test tool and include a link to the Zig Test section.
Justification
Give new Zig learners the opportunity to understand the Zig Test tool before it is used in other code samples.
The text was updated successfully, but these errors were encountered:
Vexu
added
docs
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
labels
Jul 10, 2020
The "Zig Test" section of the language reference has been moved between the
current "Hello World" section and the "Comments" section. This was done to
introduce the Zig test syntax before it is used in later sections.
The description of the Zig test feature has NOT been updated in this commit.
Closesziglang#5837
The "Zig Test" section of the language reference has been moved between the
current "Hello World" section and the "Comments" section. This was done to
introduce the Zig test syntax before it is used in later sections.
The description of the Zig test feature has NOT been updated in this commit.
Closes#5837
andrewrk
removed
the
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
label
Jul 8, 2021
Issue
The Zig language reference (documentation) has many code samples implemented in
test
s (Zig's Test tool). However, the Zig Test tool is introduced and documented much later, further down, in the Zig documentation. New Zig users may not know about this section as they read the documentation and miss an opportunity to understand the syntax and tool.Proposal
Two options:
Justification
Give new Zig learners the opportunity to understand the Zig Test tool before it is used in other code samples.
The text was updated successfully, but these errors were encountered: