ISPW project a.y. 2020/2021
- Browser automated testing is available on Windows and Linux only
- Project will be compiled iff using JDK version >= 11
- Project will be run iff JRE version >= 11
- Database schema requires MySQL Server version >= 8
- If jfx WebView cannot be shown, most likely it is a module importing error, add the following args to VM:
(thanks Mike-98)
--add-modules javafx.controls,javafx.fxml,javafx.web --add-exports javafx.base/com.sun.javafx.event=ALL-UNNAMED
Testing is achieved on two "levels":
- Unit testing
- "Browser automated" testing (via Selenium API and IDE)
$ pwd # ensure we are inside root project directory (which includes pom.xml)
*/Whork
$ mvn test # runs unit tests
$ ./run-selenium-tests.sh # runs Selenium API tests
$ chromium . # from there open project (in side/whork-*.side) using Selenium IDE plugin
$ ./res_codegen.py > src/main/java/logic/ExtractorFileLister.java