trial.discovery.unit

A module containing the default test discovery logic

Members

Classes

UnitTestDiscovery
class UnitTestDiscovery

The default test discovery looks for unit test sections and groups them by module

Enums

CommentType
enum CommentType
Undocumented in source.

Functions

clearCommentTokens
string clearCommentTokens(string text)

Remove comment tokens

commentGroupToString
Comment[] commentGroupToString(T[] group)
Undocumented in source. Be warned that the author may not have intended to support it.
commentType
CommentType commentType(T line)
Undocumented in source. Be warned that the author may not have intended to support it.
compressComments
auto compressComments(string code)
Undocumented in source. Be warned that the author may not have intended to support it.
connects
bool connects(T a, T b)
Undocumented in source. Be warned that the author may not have intended to support it.
extractLine
size_t extractLine(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getComment
string getComment(Comment[] comments, ulong line, string defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.

Manifest constants

unitTestKey
enum unitTestKey;
Undocumented in source.
unitTestKey
enum unitTestKey;
Undocumented in source.

Structs

Comment
struct Comment
Undocumented in source.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Szabo Bogdan