Use aws-sdk-mock to test AWS SSM
const AWSMock = require("aws-sdk-mock"); import AWS = require("aws-sdk"); AWSMock.setSDKInstance(AWS); import "mocha";
The post discusses how to alter a standard docker image pulled from a Public repository in Docker hub as per your need. For the example of this post, we will pull a latest CentOS docker image and add a test directory
test_dir and create a test file
test_file into it.
# docker pull centos Using default tag: latest
The part before the $ in a shell is called prompt. It can be configured by changing the variable $PS1. There are is a similar question with good answeres.
The man page (see "Bash" and there "PROMPTING") says:
\w the current working directory, with $HOME abbreviated with a tilde (uses the value of the PROMPT_DIRTRIM variable) \W the basename of the current working directory,
Starting over in this case means wiping clean my Docker images and containers, just to make sure there are no conflicts or duplicates. The following commands delete all containers and images:
Delete every Docker containers Must be run first because images are attached to containers
docker rm -f $(docker ps -a -q)
Delete every Docker image
Here is the list of Chrome Driver command line Arguments.
If you are using chrome Driver for Selenium WebDriver or Protractor or …. then these are a handy useful list of command line arguments that can be used.
You may use this to look at the usuage:
chromedriver –help to see command line arguments for your version.