Giter VIP home page Giter VIP logo

odessajs-gemini's Introduction

Демо gemini+SauceLabs+Travis для OdessaJS

Установка

  1. Установите GraphicsMagick Для MacOS X это можно сделать при помощи Homebrew:

    brew install graphicsmagick
    

    Установщик для Windows можно найти по ccылке.

  2. Склонируйте этот репозиторий и перейдите в его папку:

    git clone https://github.com/SevInf/OdessaJS-gemini.git
    cd OdessaJS-gemini
    
  3. Установите npm-зависимости:

    npm install
    
  4. Запустите HTTP-сервер

npm start

Запуск через PhantomJS

  1. Установите PhantomJS.
  2. Запустите PhantmoJS в режиме WebDriver:
phantomjs --webdriver=4444
  1. Сборка эталонных скриншотов:

    node_modules/.bin/gemini gather --config .gemini-phantomjs.yml
    
  2. Запуск тестов:

    node_modules/.bin/gemini test --config .gemini-phantomjs.yml
    
  3. Тесты с HTML-отчетом

    node_modules/.bin/gemini test --config .gemini-phantomjs.yml --reporter html
    

Запуск на SauceLabs

  1. Зарегистрируйтесь на SauceLabs.

  2. Выставьте ваш логин и ключ доступа в переменные окружения:

    SAUCE_USERNAME=<ваш логин>
    SAUCE_ACCESS_KEY=<ваш ключ доступа>
    
  3. Скачайте и запустите SauceConnect.

  4. Сборка эталонных скриншотов:

    node_modules/.bin/gemini gather
    
  5. Запуск тестов:

    node_modules/.bin/gemini test
    
  6. Тесты с HTML-отчетом

    node_modules/.bin/gemini test --reporter html
    

odessajs-gemini's People

Stargazers

 avatar  avatar Nikolay Gromov avatar Ilfat Gabdullin avatar

Watchers

Serhii Tatarintsev avatar 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.