byexample icon indicating copy to clipboard operation
byexample copied to clipboard

Write snippets of code in C++, Python, Ruby, and others as documentation and execute them as regression tests.

Results 38 byexample issues
Sort by recently updated
recently updated
newest added

**Describe the feature you'd like** Support markdown files stored in github using format: ``` code ``` format for code snippets

enhancement

**Describe the feature you'd like** Support for typescript code snippets execution using ts-node

enhancement

**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...

enhancement

**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...

enhancement
far in the future

**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:...

enhancement
good first issue

**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...

enhancement

**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...

enhancement
good first issue

**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...

enhancement
request for comments
far in the future

**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...

enhancement

**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...

enhancement