See full list on github.com
S3Mock Introduction. S3Mock is a lightweight server that implements parts of the Amazon S3 API. It has been created to support hermetic testing and reduces the infrastructure dependencies while testing. The mock server can be started as a Docker container or using a JUnit Rule.
Creating and using a mock object is semantically very much like using a stub, except that a mock will do a little more than a stub - it will save the history of... DZone > Java Zone > A Simple Manual Mock Example.
adobe / S3Mock. A simple mock implementation of the AWS S3 API startable as Docker image, JUnit 4 rule, or JUnit Jupiter extension - View it on GitHub.
This first release of the Adobe After Effects CS3 SDK contains updated Universal Binary sample projects, required for native operation on Intel-based Macs. All samples and documentation have been updated. Several more effects have been updated to use SmartFX messaging, which is required for 32 bit-per-channel pixel processing.
Here's an example of putting an error in: import boto3 from botocore.stub import Stubber from unittest.mock import patch import aws_mock import my_module @patch('my_module.boto3') def test_my_module(boto3): # Some prep work for the mock mode boto3.client = aws_mock.client conn = boto3.client('s3') conn.create_bucket(Bucket='my-bucket') # Actual testing resp = my_module.foo() assert(resp == 'Valid') resp = my_module.bar() assert(resp != 'Not Valid') # Etc, etc, etc
Minecraft education edition parkour maps