Coder Social home page Coder Social logo

specbyexampleandpolymer's Introduction

SpecByExampleAndPolymer

How can we access Polymer frontend code with Spec by Example using FitNesse?

Installation Preparations

  1. Install node.js (version >= 7.6).
  2. Install Java (version >= 6).
  3. Install the Selenium standalone server - either manually or globally via npm.
  4. Install the Selenium driver for your browser:
  5. You can place the downloaded files in the selenium folder. In any case, double-check and adapt the paths used in the selenium-... scripts in package.json.

What is already provided in this repo?

  1. FitNesse - it is checked in. The checked-in version is v20161106.
  2. SlimJS - it is installed via NPM.
  3. Webdriver.IO - it is installed via NPM.

Running Everything

  1. Start Selenium via npm run selenium-firefox or npm run selenium-chrome (make sure you adapted the paths in the command).
  2. Start FitNesse via npm run fitnesse (adapt the port in the command if necessary).
  3. Point your browser to http://localhost:8080/ExperimentPage.SimpleTest.
  4. Run the example tests by pressing the "Test" button near the top of the page. This will take some time!

The first table, labeled "Check Page Title", should be green, whereas the others should be red.

This way, you can explore which attempts I made so far, which worked well for me and which didn't.

You can find the corresponding fixtures (i.e.~the glue code between the tables and the websites) in the fixtures folder. Their names match the names in the table headers (modulo whitespace and non-text characters).

specbyexampleandpolymer's People

Contributors

nicolerauch avatar

Stargazers

Alexander Frischbutter avatar

Watchers

 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.