How to run all DocTests within a Package?

Hi @Samuel,

Apologies for the delayed response! This behavior is a result of the fact that we’re in the process of deprecating the Mojo REPL. Docstring tests were previously executed via the REPL. Going forward, we recommend instead setting up a dedicated testing environment and a test action with Magic and using magic run test. We’d also recommend checking out the Mojo standard library test files and MAX examples for examples of how we recommend structuring tests.

1 Like