A python package to test AWS services in Robot Framework
Project description
robotframework-aws
If there is functionality that should be included in this library please email me or feel free to contribute. As of right now, I am focusing on other packages until I find better use cases for for test automation in AWS services.
Contributors are welcome. This package is at the beginning of development.
KEYWORD DOCUMENTATION
A library of keywords for interacting with AWS services in your robot tests. This library covers a variety of AWS services.
Attention Contributors
Contribution guidelines for this project
Installation
- Install the package
pip install robotframework-aws
- Import Package
Pass in your AWS Credentials as parameters as shown below.
*** Settings ***
Library AWSLibrary
- Creating a Test Case
When creating a test case, start with creating a session in AWS for your test.
***Test Case*** Example Test Case Create Session us-east-1 Key Should Not Exist bucky static/test.html test.html Upload File bucky static/test.html test.html Key Should Exist bucky static/test.html test.html Delete Session us-east-1
Session
A session is created to use AWS services as a user defining the region and profile is optional.
- |
Create Session
| region | profile=optional | - |
Delete Session
| region | profile=optional | - |
Delete All Sessions
|
S3
A key represents the path of the file located in the S3 bucket and Object Path represents the local path of the file on your host.
- |
Get Bucket
| bucket_name | - |
Get Object
| bucket_name | object_path | - |
Delete File
| bucket | key | - |
Upload File
| bucket_name | object_path | key | - |
Download File
| bucket_name | object_path | key | - |
Key Should Exist
| bucket_name | object_path | key | - |
Key Should Not Exist
| bucket_name | object_path | key | - |
Allowed Methods
| array of methods |
Resources
Keywords can be used for local functionality that can be used with all services. These are helper methods to validate functionality, existence, and so on.
- |
Local File Should Exist
| path | - |
Local File Should Not Exist
| path |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
robotframework-aws-0.0.4.tar.gz
(23.3 kB
view details)
Built Distribution
File details
Details for the file robotframework-aws-0.0.4.tar.gz
.
File metadata
- Download URL: robotframework-aws-0.0.4.tar.gz
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6be8ce8d3fd42e54b8c5b5fa935cdb86172d72ec8de9d6b5d14cd50a137bbf3c |
|
MD5 | c5afc320dd29214d4db5581b9e0c2144 |
|
BLAKE2b-256 | 6b0097819f5d140812f0ba9892b6e80fba0566e9515f7c760c24000e388ff01d |
File details
Details for the file robotframework_aws-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: robotframework_aws-0.0.4-py3-none-any.whl
- Upload date:
- Size: 22.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2974a57cecc57e258dc9d17b0eb2d93cf13b9532b5e23bbc84fe37f123fa6c47 |
|
MD5 | 913172e79286934aa58f9bba846a2107 |
|
BLAKE2b-256 | 6c01a23498901ce7e0cbcf934f2a6d58f14052ccc6b905d6a9307b25c82edc4d |