question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mock test CLI and complete docstrings

See original GitHub issue

Description of issue or feature request:

The CLI and supporting were reviewed in #741, but repo.py still needs mock tests and docstrings.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
awwadcommented, Nov 19, 2018

#796 merged. Thanks, @michizhou!

repo.py still needs docstrings for a number of its functions before I can close this.

1reaction
michizhoucommented, Oct 10, 2018

@awwad I would like to get started with the documentation part of it. Once that is taken care of, I would be glad to help add additional testing for the CLI scripts and possibly look into the use of doctest. Let me know if that works for you. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

doctest — Test interactive Python examples
To check that a module's docstrings are up-to-date by verifying that all interactive examples still work as documented. To perform regression testing by ......
Read more >
Python's doctest: Document and Test Your Code at Once
In this tutorial, you'll learn how to add usage examples to your code's documentation and docstrings and how to use these examples to...
Read more >
How to run doctests
By default, all files matching the test*.txt pattern will be run through the python ... --doctest-glob can be given multiple times in the...
Read more >
Using docstrings for testing | Modern Python Cookbook
Good Python includes docstrings inside every module, class, function, ... sample. Access the full title and Packt library for free now with a...
Read more >
doctest – Testing through documentation
doctest lets you test your code by running examples embedded in the documentation and verifying that they produce the expected results.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found