GithubHelp home page GithubHelp logo

mossie93 / how-do-i-qa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from matisnape/how-do-i-qa

0.0 2.0 0.0 125 KB

Introduction to acceptance tests

Ruby 71.46% CoffeeScript 0.44% CSS 0.21% HTML 27.89%

how-do-i-qa's Introduction

How do I QA?

Introduction to acceptance testing

FORK THE PROJECT!

Dependencies

Download and set these up first.

  • ruby 2.1.5
  • postgres

Gem dependencies

Database setup

We're using postgres. Make sure it's running :) Then log in to template with this command line:

Ubuntu: sudo -u postgres psql template1
OSX: psql template1

You will now be in psql command line.
After that in the console run the development setup script - this script is already filled in with passwords, etc.
If you want to change any of the information in there you will need to change it also in database.yml later!

In the pql console run: \i <PATH_TO_PROJECT>/db/development_setup_script.sql
Exit console by typing \q

Copy database.yml.sample to database.yml:
cp config/database.yml.sample config/database.yml

Run bundle install
Then rake db:reseed to populate development environment with example data.
Load test database with rake db:test:load.

Credentials

Seeds have a user already created for you.
[email protected] with password 12345678

Run

rails s

Run specs (if any)

rspec spec

how-do-i-qa's People

Contributors

mszweda avatar

Watchers

James Cloos 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.