Changeset 39018 for gs3-extensions/testing/trunk/README_2024
- Timestamp:
- 2024-05-13T22:17:12+12:00 (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/testing/trunk/README_2024
r39017 r39018 1 --------------------------- 2 Notes written 2024: 3 --------------------------- 4 I'm not sure what I read on junits, assertj swing and (if anything) on selenium to start off the automated gli testing work back in 2018, but here's what I can gather from current code. 1 ------------------------------------------------------------- 2 README Notes written 2024 3 (AssertJ Swing GLI GUI testing groundwork laid in 2018-2019) 4 ------------------------------------------------------------- 5 5 6 But the following may be useful websites 6 Sections 7 I Code Layout 8 II Background Reading 9 III Compiling and Running 10 11 12 ------------------- 13 CODE LAYOUT 14 ------------------- 15 - ext/testing/src/src/org/greenstone/gsdl3/testing/GSGUIUtil.java (Selenium, browser testing helper functions, needs revisiting in 2024) 16 - ext/testing/src/src/org/greenstone/gsdl3/testing/GSGUITestingUtil.java (AssertJ Swing, GUI testing helper functions) 17 - ext/testing/src/src/gstests/tutorials/RunGLITest.java (tests, rudimentary stage of testing the basic GUI helper functions above) 18 19 20 ------------------- 21 BACKGROUND READING 22 ------------------- 23 See the comments section at the top of ext/testing/src/src/gstests/tutorials/RunGLITest.java 24 It lists the URLs and reading that I went through pertaining to junits, assertj swing and (if anything) on selenium to start off the automated gli testing work back in 2018. 25 26 I can further gather the following from the current code. 27 28 The following may be useful websites 7 29 - interspersed throughout our code that uses assert swing, I find I'd added references to this website: https://joel-costigliola.github.io/assertj/assertj-swing-basics.html 8 30 … … 12 34 - there's also the older wiki page by Sam that has his own work (not yet incorporated): https://wiki.greenstone.org/doku.php?id=internal:gs3_automated_testing 13 35 14 36 ---------------------- 37 COMPILING AND RUNNING 38 ---------------------- 15 39 0. Have a fresh GS3, preferrably a code checkout from SVN so that you can tweak the code on any errors. 16 40
Note:
See TracChangeset
for help on using the changeset viewer.