Giter Club home page Giter Club logo

tta's Introduction

TTA - Test Trend Analyzer

TTA is an independent product that provides a way to do Trend Analysis across your test suites.

On the consumer front, TTA consumes xUnit/* based results and other raw data from across your projects and test frameworks and archives it. On the view front, TTA provides some simple reports, and a way to create custom reports that displays Test Trends for you.

See the TTA wiki page for more information.

/**

* Created by: Anand Bagmar
* Email: [email protected]
*
* Copyright 2013 Anand Bagmar.  Distributed under the Apache 2.0 License
*
* See LICENSE.txt for further details.

**/

Installation steps

  • Install ruby 2.4.1

    brew install rbenv ruby-build
    
    # Add rbenv to bash so that it loads every time you open a terminal
    echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
    source ~/.bash_profile
    
    rbenv rehash
    rbenv install 2.4.1
    rbenv rehash
    rbenv global 2.4.1
    rbenv local 2.4.1
  • Install Gems

    gem install bundler
    bundle install --path vendor/bundle
  • Install Rails

    gem install rails -v 4.2.8
    rbenv rehash
    rails -v
    
    bundle install
  • Install MySQL 5.7.18 and start the server.

    brew install mysql
    
  • Create users in mysql

    TTA_USER, TTA_PASSWORD, RAILS_ENV=prod
    
    mysql -uroot
    CREATE USER '<TTA_USER>'@'%' IDENTIFIED BY '<TTA_PASSWORD>';
    GRANT ALL PRIVILEGES ON * . * TO '<TTA_USER>'@'%';
    FLUSH PRIVILEGES
    
    Create .my.cnf file in ~ directory with contents
    {code}
    [mysqld]
    bind-address = 0.0.0.0
    {code}
    
    Restart mysql server
  • Using TTA

Get the TTA code from Github by executing the following command from the folder of your choice. ‘git clone github.com/anandbagmar/tta.git’ Install Bundler and Run the bundle of commands in the same folder using command ‘bundle install’ Specify destination path for storing logs in server. To see the available commands use: ‘rake -T’ To setup the database,for test environment use: ‘RAILS_ENV=test rake db:create db:setup db:migrate’ To start TTA in test mode use: ‘RAILS_ENV=test rails s’ To run the specs use: ‘rake spec’ Write rake task to upload logs and hit the server with the given static IP.

  • Starting TTA in production mode

    Ensure TTA_PROD_USER and TTA_PROD_PASSWORD environment variables are set
    pre-compile assets
        RAILS_ENV=production bundle exec rake assets:clean assets:clobber assets:precompile
    FIRST TIME DB setup - tta_prod database
        RAILS_ENV=production bundle exec rake db:recreate
    
    run migration
        RAILS_ENV=production bundle exec rake assets:clean assets:clobber assets:precompile db:migrate
    start TTA in production mode
        RAILS_ENV=production bundle exec rails s -b <server_ip or hostname>

tta's People

Contributors

akshantalpm avatar anandbagmar avatar anjaliwadhwa avatar avinashk avatar cburgmer avatar codeweft avatar dependabot[bot] avatar kaavyat avatar khushaloza avatar lavanyam210 avatar mathangi101 avatar pooja-salpekar avatar prajaktakudale avatar pranjalita avatar pritibiyani avatar rajdeepv avatar sancharigr avatar sk176h avatar soniaghanekar avatar vishnun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tta's Issues

Issue installing rails

i get below error while using the versions specified in the repo

gem install rails -v 4.2.8
ERROR: Error installing rails:
sprockets requires Ruby version >= 2.5.0.

Sample TTA app?

I'd love to see a publicly accessible version of TTA so I can demo it before I go through the trouble of implementing it. Also, can we see some screenshots of it on the wiki?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.