Giter Site home page Giter Site logo

mi-we / pizza-delivery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from scenarioo/pizza-delivery

0.0 1.0 0.0 480 KB

Simple Demo using Scenarioo in Java JUnit Selenium Tests

License: MIT License

HTML 13.88% JavaScript 8.04% CSS 0.22% Java 67.66% Shell 9.75% Dockerfile 0.44%

pizza-delivery's Introduction

pizza-delivery

Simple Selenium and Scenarioo Demo in Java.

This example demonstrates how to use the Scenarioo Writer Library in your Selenium Webtests with JUnit to produce Scenarioo Documentation data.

You can see the Scenarioo Documentation Reports generated by this example in the Scenarioo Viewer here: Pizza Delivery Scenarioo Documenation

How To Run

git clone https://github.com/scenarioo/pizza-delivery.git
cd pizza-delivery
./gradlew test

Scenarioo documentation data is located in build\scenariooDocumentation after the test run has finished. In order to browse the data in the Scenarioo Viewer you need to setup the viewer as described in Setup of Scenarioo Viewer Web App.

JUnit 4 versus JUnit 5

This example uses JUnit 5. If you still use JUnit 4 - you can see the same example for JUnit 4 on branch junit4 here: https://github.com/scenarioo/pizza-delivery/tree/junit4

Test Code

The test code is based on Java using Selenium for the Browser automation and Scenarioo for documenting the test cases. You'll find this code in the folder src/test.

You can browse the documentation generated by this example in the Scenarioo Viewer here: Pizza Delivery Scenarioo Documentation.

Application Under Test

The application under test is a very simple pizza ordering web app without a dynamic backend. It's all in the folder src/main/resources/pizza-shop.

If you want to experience the pizza ordering awesomeness on your own, you can order your pizzas here: Pizza Delivery Web Shop.

Usage hint: The only known phone number is 0791111111, all other phone numbers require you to enter a new delivery address. And don't wory, there is no backend, so no one will bring you a pizza or send you a bill or call you to sell you more. ;-)

pizza-delivery's People

Contributors

ideco avatar bruderol avatar adiherzog avatar davidlahner avatar mi-we avatar forkch avatar danielsuter avatar

Watchers

James Cloos 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.