scenarioo / pizza-delivery Goto Github PK
View Code? Open in Web Editor NEWSimple Demo using Scenarioo in Java JUnit Selenium Tests
License: MIT License
Simple Demo using Scenarioo in Java JUnit Selenium Tests
License: MIT License
Setup a cleanup script similar to scenarioo pipeline to cleanup example data from old feature branches, and also cleanup too much old builds for each branch.
Also ensure to deploy only master example to master demo and other examples to develop demo.
Since now we have a master branch, it should also be the main branch of this project. Then we can remove the test code from gh-pages and move the pizza-shop to the root folder.
Also, the links in the read-me should be adapted.
sitting at Devoxx talk by the JUnit guys about Junit I realize it might be important to have a junit 5 example for Scenarioo soon.
With junit5 integration of scenarioo should be even more elegant.
@ideco and @adiherzog what do you think?
I do this right now.
Accpetance criterias
feature/{issueNumber}-{description}
and a pull request is opened for such a branch and some changes are pushed to it , then the build will run and report success or failure of verifying it properly to the Pull Request on GithubSee: https://github.com/takari/takari-cpsuite
This would allow to fix the overall status problem described here: https://github.com/scenarioo/pizza-delivery/blob/gh-pages/test/src/test/java/org/scenarioo/pizza/webtests/BranchAndBuildFileWriterTest.java
Another alternative would be to write branch.xml and build.xml in the gradle script in the test target.
The README.md contains instructions that will be wrong with 4.0
Caution: this can only be done after the release!
Introduce a simple step in the build pipeline to publish current verison of the application under test on github page of the repo
Acceptance criterias
** Implementation details**
prod
to src/main/resources/app
or something similar (more realistic compared to a real project, also by default picked up as resource directory by gradle?)Some findings from junit5 refactoring to be addressed in both versions (junit4 and junit5) of the example:
Exception information (stacktrace) should be attached to scenarioo report on test failure.
WebDriver is initialized to listen for all interactions for each use case - shouldnt the listener only start to report during test execution (such that a test could do some test preparation without reporting it?)? Currenty it looks a bit weird this initialization is only done once per test class. In junit5 there is a special hook for BeforeTestExecution that could be used for that.
ScenariooEventListener: better rename to ScenariooStepReporter or even WebDriverStepReporter?
UseCaseContext:
Further Ideas for Junit 5 only:
This section was added by @danielsuter and explains how the Scenarioo Viewer can be set up on Windows. I think this does not belong into the example but should be integrated into the general setup instructions of Scenarioo.
@bruderol @danielsuter What's your opinion on this?
PS: The last three lines are about running the example tests. I moved this to the top of the readme in branch https://github.com/scenarioo/pizza-delivery/tree/rename-pizza-shop-folder.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.