Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robotframework-terminal/plaintextterminal
Robot Framework Suite for Plain Text Terminal testing
https://github.com/robotframework-terminal/plaintextterminal
plaintext-terminal python robotframework robotframework-library
Last synced: 13 days ago
JSON representation
Robot Framework Suite for Plain Text Terminal testing
- Host: GitHub
- URL: https://github.com/robotframework-terminal/plaintextterminal
- Owner: robotframework-terminal
- License: apache-2.0
- Created: 2024-07-10T03:16:56.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-12T15:39:56.000Z (4 months ago)
- Last Synced: 2024-10-09T23:40:54.964Z (about 1 month ago)
- Topics: plaintext-terminal, python, robotframework, robotframework-library
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Introduction
The Plain Text Terminal works cross Telnet and SSH, without modification the Robot code## How to install
* $ python3 -m pip install -e git+https://github.com/robotframework-terminal/[email protected]#egg=PlainTextTerminal## How to use it under a virtual environment
#### Active the virtual enviroment
* $ python3 -m venv .venv
* $ source .venv/bin/activate
* $ python3 -m pip install --upgrade -r requirements.txt#### Deactive the virtual enviroment
* $ deactivate## Example
#### With library import default configuration
```
*** Settings ***Library PlainTextTerminal
... connection=+IPv4
... prompt=REGEXP:[$#]Suite Teardown Close All Connections
*** Test Cases ***
How to say Hi!
[Documentation] Let say Hi!Login
... username=USERNAME
... password=PASSWORDWrite Bare
... text=echo "Hi!"Read Until Prompt
[Teardown] Close Connection
```#### With empty library import configuration
```
*** Settings ***Library PlainTextTerminal
Suite Teardown Close All Connections
*** Test Cases ***
How to say Hi!
[Documentation] Let say Hi![Setup] Open Connection
... connection=+IPv4
... prompt=REGEXP:[$#]Login
... username=USERNAME
... password=PASSWORDWrite Bare
... text=echo "Hi!"Read Until Prompt
[Teardown] Close Connection
```