Project

qa_cube

0.0
No commit activity in last 3 years
No release in over 3 years
A collection of QA tooling. Currently only includes sheetsappender, which is a tool for appending data to an existing google sheets page
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 10.0

Runtime

 Project Readme

QaCube

Will hopefully one day be a collection of tools useful for QA's/Test automation engineers working with ruby. Currently it's just one tool.

Current contents:

  • Sheets-Appender

Installation

Add this line to your application's Gemfile:

gem 'qa_cube'

And then execute:

$ bundle

Or install it yourself as:

$ gem install qa_cube

Usage

Sheets Appender

require 'google-sheets-appender'

range = 'A1:A'
spreadsheet_id = '0123456789abcdef'
sheet_name = 'ASheetName'
client_secret_path = '/directory/containing/client/secret/file/'
workspace = '/directory/containing/credentials/directory/' # You'll be prompted to generate a new key if no `.credentials` dir containing a valid key is found here.

appender = QaCube::SheetsAppender.new(spreadsheet_id: spreadsheet_id, sheet_name: sheet_name, client_secrets_path: client_secret_path, range: range, workspace_dir: workspace_dir)
appender.append(values: [[a,b,c,d,e,f,g]])

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/btalpers/qa_cube