<commit_before># Summary

These Spinnaker integration tests depend on the [Cloud Integration Testing]
(https://github.com/google/citest) python package. You'll need to run the
setup script to install the dependencies into your environment, then can
run the tests at will.

To write new tests refer to existing tests and see
[the citest README.md](https://github.com/google/citest/blob/master/README.md)
gifor the time being, and ask questions on the [Spinnaker #dev slack channel]
(https://spinnakerteam.slack.com/messages/dev/).

# About This Subtree

This part of the repository is divided into the following parts:

Directory | Purpose
----------|--------
'tests'  | The actual Spinnaker integration tests.
'spinnaker_testing' | Support modules for the Spinnaker integration tests.
'unittests'        | Unit tests for parts of spinnaker_testing.


# Installing dependencies

These tests are written in Python. Instead of installing the dependencies
into system folders consider using something like [virtualenv]
(https://virtualenv.pypa.io/en/stable/). This is optional,
but a suggestion.


    # Install the python package manager if you dont already have it
    sudo apt-get install python-pip

    # Install virtualenv tools  and setup a Virtual Environment.
    pip install virtualenv

    # Create an environment to use.
    MYENV=my-virtualenv   # to clarify documentation
    virtualenv $MYENV     # create a new environment directory

    # Use the environment for a session (in the current shell).
    source $MYENV/bin/activate  # use $MYENV in the current shell
    ...
    deactivate            # leave the virtualenv when you are done


If you are using Virtual Env, then all the remaining instructions
would be performed within the virtual environment, entered by
`source $MYENV/bin/activate` within the shell you run the commands in.

## Install Platform Dependencies
These are not yet automated. Depending on the platforms involved either
by hosting Spinnaker or being the platform the test is running against,
you may need additional tools.

Platform | Tools | Installation Command
---------|-------|---------------------
Amazon Web Services | awscli | ```sudo apt-get install -y awscli```
Google Cloud Platform | gcloud | ```curl https://sdk.cloud.google.com | bash```
Kubernetes | kubectl | [See instructions](http://kubernetes.io/docs/user-guide/prereqs/)


## Install Spinnaker citest Dependencies<commit_msg>List dependency of libffi-dev (#1299)<commit_after># Summary

These Spinnaker integration tests depend on the [Cloud Integration Testing]
(https://github.com/google/citest) python package. You'll need to run the
setup script to install the dependencies into your environment, then can
run the tests at will.

To write new tests refer to existing tests and see
[the citest README.md](https://github.com/google/citest/blob/master/README.md)
gifor the time being, and ask questions on the [Spinnaker #dev slack channel]
(https://spinnakerteam.slack.com/messages/dev/).

# About This Subtree

This part of the repository is divided into the following parts:

Directory | Purpose
----------|--------
'tests'  | The actual Spinnaker integration tests.
'spinnaker_testing' | Support modules for the Spinnaker integration tests.
'unittests'        | Unit tests for parts of spinnaker_testing.


# Installing dependencies

These tests are written in Python. Instead of installing the dependencies
into system folders consider using something like [virtualenv]
(https://virtualenv.pypa.io/en/stable/). This is optional,
but a suggestion.


    # Install the python package manager if you dont already have it
    sudo apt-get install python-pip
    
    # Instal FFI package needed by pyopenssl
    sudo apt-get install libffi-dev

    # Install virtualenv tools  and setup a Virtual Environment.
    pip install virtualenv

    # Create an environment to use.
    MYENV=my-virtualenv   # to clarify documentation
    virtualenv $MYENV     # create a new environment directory

    # Use the environment for a session (in the current shell).
    source $MYENV/bin/activate  # use $MYENV in the current shell
    ...
    deactivate            # leave the virtualenv when you are done


If you are using Virtual Env, then all the remaining instructions
would be performed within the virtual environment, entered by
`source $MYENV/bin/activate` within the shell you run the commands in.

## Install Platform Dependencies
These are not yet automated. Depending on the platforms involved either
by hosting Spinnaker or being the platform the test is running against,
you may need additional tools.

Platform | Tools | Installation Command
---------|-------|---------------------
Amazon Web Services | awscli | ```sudo apt-get install -y awscli```
Google Cloud Platform | gcloud | ```curl https://sdk.cloud.google.com | bash```
Kubernetes | kubectl | [See instructions](http://kubernetes.io/docs/user-guide/prereqs/)


## Install Spinnaker citest Dependencies
{'fraction_non_alphanumeric': 0.08983118971061094, 'fraction_numerical': 0.0008038585209003215, 'mean_word_length': 3.591328413284133, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3592964', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1258, 'n_words': 583}