Giter Site home page Giter Site logo

ayoussefacv / sbangular Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mallim/sbangular

0.0 1.0 0.0 612 KB

A Java/Javascript full-stack AngularJS + Spring Boot MVC Rest that makes web developers insanely productive. (Angular, Bootstrap, Bower, Browserify, Font Awesome, Grunt, jQuery, JSHint, Mocha/Chai, LESS, Livereload ...

JavaScript 59.69% Java 14.35% HTML 11.57% CSS 12.90% Groovy 1.49%

sbangular's Introduction

sbangular

Run e2e angular tests with webdriver.

Build Status Dependencies devDependencies

Libraries Demonstrated

sbangular comes with many of popular, battle-tested modern web frameworks and libraries. All these parts are already wired together for you using best practices! :) Don't waste time writing boilerplate code.

How to Use

Development

Grunt tasks to build your app:

$ grunt mockup              # with reloading to do mockup
$ grunt test                # to perform the mocha tests

Testing

End-to-End (E2E) Testing with Protractor

Protractor wraps around WebDriverJS, which is a javascript binding for Selenium-Webdriver.

Selenium-Webdriver is a browser automation framework. Tests are written with the WebDriver API, which communicates with a Selenium server to control the browser under test. - Protractor Getting Started Guide

Therefore, you need to first download and install Selenium standalone server. If you successfully performed npm install, you will have ./node_modules/.bin/webdriver-manager. You can download and install Selenium standalone server by the following command:

$ ./node_modules/.bin/webdriver-manager update

From then on, you can start the server via:

$ ./node_modules/.bin/webdriver-manager start

You need to have the Selenium server running before running E2E tests. Once the Selenium server is running, you should also start the application server (in another tab) because your tests will run against it:

$ gradle bootRun

While the application server is running, open another tab and run e2e tests using Protractor.

$ grunt e2e

Contributing to the Project

All pull requests are welcome.

License

And of course:

MIT: http://mallim.mit-license.org

sbangular's People

Contributors

mallim avatar

Watchers

 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.