@@ -342,14 +342,46 @@ your scripts directory. Run `./go help plugins` for more information.
342342
343343You can import optional Bash library code from the core framework, third-party
344344plugins, or your own project's scripts directory by sourcing the
345- ` $ _GO_USE_MODULES` script. For example, to import the core logging utilities:
345+ ` _GO_USE_MODULES ` script. For example, to import the core logging utilities:
346346
347347``` bash
348- . $_GO_USE_MODULES ' log'
348+ . " $_GO_USE_MODULES " ' log'
349349```
350350
351351Run ` ./go help modules ` and ` ./go modules --help ` for more information.
352352
353+ #### Logging
354+
355+ The core library ` log ` module provides functions for standard logging
356+ facilities. For example:
357+
358+ ``` bash
359+ @go.log INFO Hello, World!
360+ @go.log ERROR Goodbye, World!
361+ ```
362+
363+ For more information, run ` ./go modules --help log ` .
364+
365+ #### Bats test assertions and helpers
366+
367+ The assertions and helpers from the test suite have been extracted into the
368+ ` lib/bats/assertions ` and ` lib/bats/helpers ` libraries. While these are not
369+ modules you can import with ` _GO_USE_MODULES ` , they are completely independent
370+ of the rest of the core framework and you may source them in your own Bats
371+ tests. (Whether or not these will ever become a separate library remains an open
372+ question.)
373+
374+ Read the comments from each file for more information.
375+
376+ #### ` kcov-ubuntu ` module for test coverage on Linux
377+
378+ The ` kcov-ubuntu ` module provides the ` run_kcov ` function that will download and
379+ compile [ kcov] ( https://github.com/SimonKagstrom/kcov ) , then run ` kcov ` with the
380+ original ` ./go ` command line arguments to collect test coverage. Only available
381+ on Ubuntu Linux for now, hence the name. Run ` ./go modules --help kcov-ubuntu `
382+ for more information and see ` scripts/test ` for an example of how it may be
383+ used.
384+
353385### Feedback and contributions
354386
355387Feel free to [ comment on or file a new GitHub
0 commit comments