GithubHelp home page GithubHelp logo

froots / design-testing-course Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 9 KB

A companion project for a free 10-day email course on design testing available at tinnedfruit.com

CSS 10.40% HTML 89.60%

design-testing-course's Introduction

Design testing course example project

This project is a companion project for the free email course on design testing available on tinnedfruit.com. It won't make much sense unless you have signed up for that.

Pre-requisites

Before you run this project, you'll need:

  • A GitHub account - to fork and clone this repository
  • Git - Because Git
  • Node.JS and NPM - to install dependencies and run commands

WebDriver implementations

By default, layout tests will run on Chrome and PhantomJS. You'll need to install WebDriver implementations for these to work, otherwise you will get errors when you run tests. Follow the installation instructions on the respective sites:

Alternatively, if you are using MacOS and have Homebrew installed, you can run brew install phantomjs chromedriver from a terminal prompt.

You might also try running tests using Firefox by adding another check command in the suite.test file. Unfortunately Firefox is tricky at the time of writing because Mozilla is in the process of separating the WebDriver implementation from the core Firefox download. Firefox version 48 and higher do not bundle a WebDriver.

Installation

Once you have the pre-requisites, follow these steps:

  1. Fork this repository to your own GitHub account.
  2. Clone the repository to your own computer.
  3. From a command prompt, cd into the project and run npm install to install the project dependencies

Scripts

Here are the NPM scripts that can be run for this project:

  • npm run serve - starts a web server on port 8080. It also opens the home page in a browser for you.
  • npm run stylelint - runs the stylelint CSS linter over all CSS files in the src/css directory.
  • npm test - runs Galen Framework layout tests using the test/suite.test suite and the test/feature.gspec spec files. You'll need to have the web server running first (run npm run serve in another terminal window)
  • npm run report - opens the Galen test report from test/report/report.html in a browser window. This will only work after a test run.

Help!

If you need any help with anything, raise an issue on GitHub or email me on [email protected].

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.