gg_test library

Classes

ErrorInfoReader
Reads error information from a given error string.
GgTest
The command line interface for GgTest
MockTests
Mocktail mock
MockTypeScriptTestRunner
A mocktail mock.
Tests
Runs dart test on the source code
TypeScriptTestRunner
Runs Vitest against a TypeScript project.

Extensions

GgTestStringPathSeparatorExtensions on String
Adds an .os method to strings to turn / into the platform path separator

Functions

hasFunctions(String code) bool
Returns true if the code has functions
isTypeScriptProject(Directory directory) bool
Returns true when directory looks like a TypeScript project.