Comments (6)
@adiherzog and @ideco I started to migrate to junit 5 on the feature branch - tests are allready running with junit 5 platform using vintage - but still use junit 4 syntax. Next step will be to migrate to new syntax (should be more or less easy) using jupiter.
Question: what do you think should we make the example junit 5 only or still keep the junit 4 example (e.g. on a special junit4 branch)??
from pizza-delivery.
And ... guess what ... there are 'Tag' and 'DisplayName' Annotations that might be interesting for us
from pizza-delivery.
Cool, JUnit 5 looks nice. But I think we should also keep the JUnit 4 example for a while (in parallel), as JUnit 5 adoption is probably not so high yet. Or as an alternative we could just add comments wherever you would do something differently in JUnit 4.
from pizza-delivery.
+1 for keeping them in parallel (maybe in a separate test folder?)
Also: http://junit.org/junit5/docs/current/api/org/junit/jupiter/api/extension/BeforeAllCallback.html this seems ideal for setting up the scenarioo build folder
from pizza-delivery.
@ideco I think BeforeAll is just the same as BeforeClass was in JUnit 4 - so it wont help much to replace the static test setup for all test classes. But I think it's not so bad - it is ok how we solved it in the current example.
@adiherzog and @ideco I agree with your other statements - therefore I propose the following:
- do a special junit4 branch with current version of the example
- Link from the readme on develop branch to that branch
I not consider both examples in one branch as an option since this makes it more difficult to understand the example when there are both dependencies.
from pizza-delivery.
Done, see PR #21 - I close this
from pizza-delivery.
Related Issues (10)
- Maybe use the ClasspathSuite to write build.xml after running all tests HOT 2
- Prepare Example for Scenarioo 4.0 HOT 2
- Windows Setup section in README HOT 3
- Jenkins Pipeline: clean up deployed examples for removed feature branches HOT 2
- Use Scenarioo from Maven Central and Update Dependencies HOT 1
- Improve Scenarioo Reporter
- Change the default branch to master and leave only pizza-shop in gh-pages HOT 3
- Jenkins Build: Automatic deployment of app under test to github pages HOT 1
- Jenkins Build: Make it work for feature branches and pull requests HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pizza-delivery.