Metadata-Version: 1.1
Name: robotframework-webpack
Version: 1.0a4
Summary: A robot framework library for Webpack.
Home-page: https://kitconcept.com
Author: Timo Stollenwerk
Author-email: stollenwerk@kitconcept.com
License: Apache License 2.0
Description: ==============================================================================
        A robot framework library for Webpack.
        ==============================================================================
        
        .. image:: https://travis-ci.org/kitconcept/robotframework-webpack.svg?branch=master
            :target: https://travis-ci.org/kitconcept/robotframework-webpack
        
        .. image:: https://img.shields.io/pypi/status/robotframework-webpack.svg
            :target: https://pypi.python.org/pypi/robotframework-webpack/
            :alt: Egg Status
        
        .. image:: https://img.shields.io/pypi/v/robotframework-webpack.svg
            :target: https://pypi.python.org/pypi/robotframework-webpack/
            :alt: Latest Version
        
        .. image:: https://img.shields.io/pypi/l/robotframework-webpack.svg
            :target: https://pypi.python.org/pypi/robotframework-webpack/
            :alt: License
        
        
        Introduction
        ------------
        
        WebpackLibrary is a Robot Framework library for Webpack. It allows to start
        and stop the Webpack dev server.
        
        Installation
        ------------
        
        Install robotframework-webpack with pip::
        
          $ pip install robotframework-webpack
        
        
        Usage
        -----
        
        In order to write your first robot test, make sure that you include Selenium2Library and WebpackLibrary. Create a test.robot file with the following content::
        
          *** Variables ***
        
          ${HOST}                 127.0.0.1
          ${PORT}                 7447
          ${BROWSER}              chrome
          ${SERVER}               http://${HOST}:${PORT}
        
        
          *** Settings ***
        
          Documentation   WebpackLibrary Acceptance Tests
          Library         Selenium2Library  timeout=10  implicit_wait=0
          Library         WebpackLibrary  ${HOST}  ${PORT}  debug=False
          Suite Setup     Start Webpack and Open Browser
          Suite Teardown  Stop Webpack and Close Browser
        
        
          *** Test Cases ***
        
          Scenario: Webpack Dev Server
            Go To  ${SERVER}
            # Amend this line to check for the real content of your app. Otherwise this test will fail.
            Wait until page contains  Hello World
            Page Should Contain  Hello World
        
        
          *** Keywords ***
        
          Start Webpack and Open Browser
            Start Webpack
            Open Browser  ${SERVER}  ${BROWSER}
            Set Window Size  1280  1024
        
          Stop Webpack and Close Browser
            Stop Webpack
            Close Browser
        
        
        
        Development
        -----------
        
        Project Setup::
        
          $ virtualenv-2.7 .py27
          $ source .py27/bin/activate
          $ pip install -r requirements.txt
          $ python setup.py develop
        
        Run Test::
        
          $ pybot test.robot
        
        
        
        1.0a4 (2016-07-13)
        ------------------
        
        Breaking Changes:
        
        - Move all arguments from WebpackLibrary import to 'Start Webpack' keyword.
          [timo]
        
        Bugfixes:
        
        - Remove requests from dependencies.
          [timo]
        
        - Fix package keywords.
          [timo]
        
        
        1.0a3 (2016-07-13)
        ------------------
        
        Bugfixes:
        
        - Fix content_base param.
          [timo]
        
        - Log OSErrors when calling webpack.
          [timo]
        
        
        1.0a2 (2016-07-13)
        ------------------
        
        New Features:
        
        - Add config parameter to WebpackLibrary.
          [timo]
        
        1.0a1 (2016-07-12)
        ------------------
        
        - Initial release.
          [timo]
        
        
Keywords: robotframework webpack javascript
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Environment :: Web Environment
Classifier: Framework :: Robot Framework
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: Implementation :: CPython
