https://github.com/javaee-samples/javaee-extras
Samples demonstrating Java EE interacting with various external technologies
https://github.com/javaee-samples/javaee-extras
Last synced: 9 months ago
JSON representation
Samples demonstrating Java EE interacting with various external technologies
- Host: GitHub
- URL: https://github.com/javaee-samples/javaee-extras
- Owner: javaee-samples
- License: other
- Created: 2017-08-07T22:15:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-08-18T19:06:10.000Z (over 3 years ago)
- Last Synced: 2025-03-24T19:21:50.445Z (9 months ago)
- Language: Java
- Size: 291 KB
- Stars: 4
- Watchers: 2
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java EE Extras Samples #
This project consists of Java EE Extras Samples and unit tests. They are categorized in different directories, one for each technology.
The extras project focuses on the interaction of Java EE with external technologies as well as on alternatives for various testing frameworks.
Where the Java EE 7 and Java EE 8 samples projects are quite strict on limiting the amount of alternatives that are used for any test, this project has no such limitations. Tests can be written in any (JVM) language such as Groovy, Scala, JRuby, Kotlin, etc, using any (unit) test framework and helpers such as JUnit, TestNg, Arquillian, Cargo, Cactus, contain tests that exercise application server specific functionality, contain tests that exercise framework specific functionality such as the Jersey specific MVC, MyFaces specific features, and all combinations and permutations of the above.
**Note**: The project currently does not run out of the box. PRs are welcome to fix this.
There are 6 profiles to choose a browser to test on:
* ``browser-firefox``
To run tests on Mozilla Firefox. If its binary is installed in the usual place, no additional information is required.
* ``browser-chrome``
To run tests on Google Chrome. Need to pass a ``-Darq.extension.webdriver.chromeDriverBinary`` property
pointing to a ``chromedriver`` binary.
* ``browser-ie``
To run tests on Internet Explorer. Need to pass a ``-Darq.extension.webdriver.ieDriverBinary`` property
pointing to a ``IEDriverServer.exe``.
* ``browser-safari``
To run tests on Safari. If its binary is installed in the usual place, no additional information is required.
* ``browser-opera``
To run tests on Opera. Need to pass a ``-Darq.extension.webdriver.opera.binary`` property pointing to a Opera executable.
* ``browser-phantomjs``
To run tests on headless browser PhantomJS. If you do not specify the path of phantomjs binary via
``-Dphantomjs.binary.path`` property, it will be downloaded automatically.