Code Monkey home page Code Monkey logo

chatter's Introduction

ChatTEr [Chat based TestEr]

This is a ChatBot Which be used for driving testing operations from chat ,
currently supports below operations

  • Test Website with Selenium on headless Browser

Project

https://irfan.chandler.ai/chatter

Pre-requisite and How to Setup

1.prepare system with package manager

install homebrew on mac , MacPort installation is not recommended OR apt-get package manager on Ubuntu

Install gpg on system ,for mac

$ brew install gpg

OR on Ubuntu

$ sudo apt-get install gpg

2.Install Ruby on mac /ubuntu

Install the latest stable release of Ruby.

$ \curl -sSL https://get.rvm.io | bash -s stable
$ rvm install ruby

Make sure rvm is using the correct ruby by default

$ rvm list
$ rvm --default use 2.2.1

If you have an old ruby/rvm, you can upgrade with

$ rvm get head
$ rvm autolibs homebrew
$ rvm install ruby

Check that it’s installed properly by printing the ruby version.

$ ruby --version

Update RubyGems and Bundler.

$ gem update --system
$ gem install --no-rdoc --no-ri bundler
$ gem update
$ gem cleanup
$ gem install bundler

clone the repo and run bundle install ,all dependencies will be added

$ git clone ssh://[email protected]:2222/diffusion/14/chatops.git
$ cd chatops
$ bundle install

3.Install Redis Server

$ brew install redis-server OR
$ sudo apt-get install redis-server

How to Run

1.Ensure redis running.

$ redis-server

2.Start lita

$ lita start

Usage

On slack , please type below

raj, deploy <app> with <branch> on <env> please

Example

Chatter, Test http://irfan.chandler.ai with selenium on chrome please

Unit Tests

To run unit tests wit rspec

$ rake spec

Lint Checks and Rubocop

To run Rubocop locally for code quality analysis

$ rake rubocop

To contribute to the library

  • Clone this repo and perform all changes on your local repo
  • Read Git Contribution best practices below
  • Create your feature branch (git checkout -b new_feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin new_feature)
  • Create a new Pull Request and add summary, test plan and reviewer
  • Wait for Review Acceptance
  • Post Acceptance Land Changes to Integration branch.

Git Contribution best practices

  • Commit often
  • Commit related changes
  • Don't commit half-done work
  • Test code before commit
  • Write clear commit messages [what changed ,why ,where ]
  • Always create a PR for changes from your fork to upstream
  • Upstream is not a backup system ,your fork is
  • Use branches for every separate feature ,bug,ideas ,project

Owner

Email : [email protected]
Twitter : notimewaste

UpComing Features

  • Integration with Selenium for Web Testing
  • Integration with Appium and SauceLabs for Mobile App Testing
  • Support to Test RESTful API's
  • Support to drive CI Operations

Directory structure

├── handlers    
├── spec    
├── config     
└── Rakefile   

chatter's People

Contributors

irfanahmadein avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.