Work in progress - Concept

Type definition syntax

Types

Classes in K# are defined by the keyword type, and must define their unit test affinity.

An a type with no unit test affinity is written with the untested modifier keyword.

Example
untested type MyType { }

A type with a unit test affinity must be defined via the tested by modifier key phrase.

Example
tested by MyTestNamespace::MyTypeTests,
type MyType { } 

Test Suites

Test suites are defined via the testsuite keyword

testsuite MyTypeTests { }

Structs

Structs in K# are defined similarly with the immutable modifier keyword.

immutable type MyType { }

Enumerations

Literals

A string literal is defined by use of the " characters: