test_analyzer: separate running_unittests & integration tests.

BUG=chromium:818020
TEST=Ran bin/run_unittests, bin/run_integration_tests.

Change-Id: Ief4fba5692362fb3aa93747f8bd070e61c8fe439
Reviewed-on: https://chromium-review.googlesource.com/963547
Tested-by: Xixuan Wu <xixuan@chromium.org>
Trybot-Ready: Xixuan Wu <xixuan@chromium.org>
Reviewed-by: Shuhei Takahashi <nya@chromium.org>
Reviewed-by: Paul Hobbs <phobbs@google.com>
Commit-Queue: Xixuan Wu <xixuan@chromium.org>
4 files changed
tree: e556b8f22b0b2942fae54f26e3f8999fd96ae6c8
  1. bin/
  2. test_analyzer/
  3. .gitignore
  4. Pipfile
  5. Pipfile.lock
  6. PRESUBMIT.cfg
  7. pytest.ini
  8. README.md
README.md

Setup

  1. Download service account service secret files:

     gsutil cp -r gs://chromiumos-test-analyzer.appspot.com/credentials
     ./test_analyzer/
    

    It includes 2 json files, one for prod & one for staging instance.

  2. Install pipenv to create virtual environment for local tests:

     sudo pip install pipenv
    
  3. Try to run tests:

    For unittest:

     bin/run_unittests
    

    For integration test:

     bin/run_integration_tests