byexample
byexample copied to clipboard
Write snippets of code in C++, Python, Ruby, and others as documentation and execute them as regression tests.
**Describe the feature you'd like** Support markdown files stored in github using format: ``` code ``` format for code snippets
**Describe the feature you'd like** Support for typescript code snippets execution using ts-node
**Describe the feature you'd like** It is not uncommon to have a code that outputs one or more empty lines at the begin of stream before writing anything else. Because...
**Describe the feature you'd like** `byexample` calls `pexpect` to read from the interpreter and wait until a given regex matches. In the most common case the regex is the prompt...
**Describe the feature you'd like** In the same line than #75 , we should create a manpage from the ``argparser`` parser. This is the place where the ``argparser`` is built:...
**Describe the feature you'd like** The `namespace` or `ns` object is used to communicate or share data structures between the main thread and the workers and between the workers. These...
**Describe the feature you'd like** Because `byexample` runs on Python 3 only, these `__future__` imports (`unicode_literals` and `print_function`) are not needed anymore as they are the default. Removing them will...
**Describe the feature you'd like** When an example's expected output has an empty line, the user must (1) not write an empty line and use `+norm-ws` or (2) write a...
**Describe the feature you'd like** Following #174 we could expand shell variables inside the files like ``` byexample '$HOME/foo.py' ``` This should work even if the file is in an...
**Describe the feature you'd like** So far `byexample` uses a home-made plugin engine. In `byexample` 10.5.0 we had to change it to use the new import-mechanism of Python 3.10 and...