Skip to main content

String Formatter for Robot Framework

Project description

# StringFormat for Robot Framework

StringFormat is a string formatter for Robot Framework. This library is a python .format() wrapper.

## Usage

| | | | | |
—————— | ————– | ————- | —————————————— | —- | ——– |
* Settings * | | | | | |
Library | StringFormat | | | | |
* Test Cases * | | | | | |
Format Text | | | | | |
| ${url}= | Format String | https://api.domain.com/users/{0}/sites/{1} | paul | internal |
| Log To Console | ${url} | | | |

## Output

` https://api.domain.com/users/paul/sites/internal `

## Supported Format

StringFormat library utilizes python str.format method to construct formatted string. The format spec depends on what version of python this library being executed on. See the following resources for detail.

## License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

robotframework_stringformat-0.1.6-py2.py3-none-any.whl (4.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file robotframework_stringformat-0.1.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_stringformat-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 69e15cfa200700fa0d04ee01f83a2c519c810524015708cc8b04a14c518d83f4
MD5 d527411046b48bbddae23e2f47009791
BLAKE2b-256 2fbd7d0c8547e1836208603e7c34becada9d720abf9509a42fe0b8851e487e58

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page