Documentation v0.25.0 all versions

Logging, debugging, testing

To understand the internal state of an activity, you can use the following:

  • printf style debugging: enable forward_stdout or forward_stderr in the [[activity]] section of the configuratin. Output will appear in the server log.
  • obelisk:log API - see Runtime Support

Unit and integration testing is possible with Cargo's test harness.

The stargazers demo repository contains unit and integration tests for activities.