OpenDev Sysadmins 00461aeaa8 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:35:57 +00:00
2013-02-05 15:28:13 -05:00
2013-01-13 19:56:51 -05:00
2013-01-13 19:56:51 -05:00
2019-04-19 19:35:57 +00:00
2013-01-13 20:48:58 -05:00
2012-07-30 12:16:05 -04:00
2012-08-31 00:20:00 -04:00
2013-02-05 15:28:13 -05:00
2013-01-13 19:56:51 -05:00
2013-01-13 19:56:51 -05:00

Steady Mark

version 0.4.5 Build Status

meme

Turning your github readme files into python test suites since 2012

Steady Mark was created for python developers that love Github and markdown.

How it works:

Write your documentation using github-flavored markdown, surround your snippets with python code blocks and steadymark will automatically find and run them, if there is a header preceeding your python snippet it will be used as title for your test.

Advantages:

  • Add test coverage to your app/library while documenting it
  • Never have old malfunctional examples on your project's main page in github
  • It uses misaka which is a python-binding of sundown, the markdown engine that github uses in itself

Example

unicode.lower transforms string into lowercase

from sure import expect
assert expect(u"Gabriel Falcao".lower()).equals(u"gabriel falcao")

python can add numbers

assert (2 + 2) == 4, 'oops baby'

Start using steady mark now!

This is the code for the example above, copy and paste in you python project right now and start keeping your documentation up-to-date with the code.

# My project name
`version 0.1`

## unicode.lower transforms string into lowercase

```python
assert "LOWERCaSe".lower() == "lowercase"
```

## python can add numbers

```python
assert (2 + 2) == 5, 'oops baby'
```

Just run with:

$ steadymark README.md

Steadymark is on version 0.4.5

>>> from sure import expect
>>> from steadymark import version
>>> assert expect(version).should.equal("0.4.5")
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 178 KiB
Languages
Python 98.3%
Makefile 1.7%