Skip to content

Commit 3547c54

Browse files
committed
Merge remote-tracking branch 'upstream/master' into reporting
2 parents 4c79ce4 + db06203 commit 3547c54

75 files changed

Lines changed: 3678 additions & 1674 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/gradle.yml

Lines changed: 147 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ name: TESTAR CI - build with Gradle
55

66
on:
77
push:
8-
branches: [ master, master_gradle_workflow ]
8+
branches: [ master, master_gradle_workflow, master_workflow ]
99
pull_request:
1010
branches: [ master ]
1111

1212
jobs:
13-
windows:
13+
windows_java_8:
1414
runs-on: windows-latest
15-
timeout-minutes: 30
15+
timeout-minutes: 15
1616

1717
steps:
1818
- uses: actions/checkout@v2
@@ -29,18 +29,35 @@ jobs:
2929

3030
- name: Build TESTAR with Gradle
3131
run: ./gradlew build
32-
32+
33+
- name: Save JUnit test results
34+
uses: actions/upload-artifact@v2.2.4
35+
with:
36+
name: saveJunitTests-artifact
37+
path: D:/a/TESTAR_dev/TESTAR_dev/testar/target/reports/tests
38+
3339
- name: Prepare installed distribution of TESTAR with Gradle
3440
run: ./gradlew installDist
35-
41+
42+
- name: Run TESTAR dialog
43+
run: ./gradlew runTestRunGUI
44+
3645
- name: Run desktop_generic protocol with TESTAR using COMMAND_LINE
3746
run: ./gradlew runTestDesktopGenericCommandLineOk
3847
- name: Save runTestDesktopGenericCommandLineOk HTML report artifact
3948
uses: actions/upload-artifact@v2.2.4
4049
with:
4150
name: runTestDesktopGenericCommandLineOk-artifact
4251
path: D:/a/TESTAR_dev/TESTAR_dev/testar/target/install/testar/bin/notepad_ok
43-
52+
53+
- name: Run desktop_generic protocol with TESTAR to test waitAndLeftClickWidgetWithMatchingTags feature
54+
run: ./gradlew runTestDesktopGenericMultiTags
55+
- name: Save runTestDesktopGenericMultiTags HTML report artifact
56+
uses: actions/upload-artifact@v2.2.4
57+
with:
58+
name: runTestDesktopGenericMultiTags-artifact
59+
path: D:/a/TESTAR_dev/TESTAR_dev/testar/target/install/testar/bin/notepad_multitags
60+
4461
- name: Run desktop_generic protocol that contains SuspiciousTitle with TESTAR
4562
run: ./gradlew runTestDesktopGenericCommandLineSuspiciousTitle
4663
- name: Save runTestDesktopGenericCommandLineSuspiciousTitle HTML report artifact
@@ -121,6 +138,130 @@ jobs:
121138
name: runTestWebdriverUnreplayable-artifact
122139
path: D:/a/TESTAR_dev/TESTAR_dev/testar/target/install/testar/bin/webdriver_unreplayable
123140

141+
windows_java_11:
142+
runs-on: windows-latest
143+
timeout-minutes: 15
144+
145+
steps:
146+
- uses: actions/checkout@v2
147+
- name: Set up Java 11
148+
uses: actions/setup-java@v1
149+
with:
150+
java-version: 11
151+
152+
- name: Grant execute permission for gradlew
153+
run: chmod +x gradlew
154+
155+
- name: Prepare TESTAR protocols
156+
run: ./gradlew init_workflow_test
157+
158+
- name: Build TESTAR with Gradle
159+
run: ./gradlew build
160+
161+
- name: Prepare installed distribution of TESTAR with Gradle
162+
run: ./gradlew installDist
163+
164+
- name: Run TESTAR dialog
165+
run: ./gradlew runTestRunGUI
166+
167+
- name: Run desktop_generic protocol with TESTAR using COMMAND_LINE
168+
run: ./gradlew runTestDesktopGenericCommandLineOk
169+
170+
- name: Run desktop_generic protocol with TESTAR to test waitAndLeftClickWidgetWithMatchingTags feature
171+
run: ./gradlew runTestDesktopGenericMultiTags
172+
173+
- name: Run desktop_generic protocol that contains SuspiciousTitle with TESTAR
174+
run: ./gradlew runTestDesktopGenericCommandLineSuspiciousTitle
175+
176+
- name: Run desktop_generic protocol using specific filtering and detect a SuspiciousTitle with TESTAR
177+
run: ./gradlew runTestDesktopGenericCommandLineSettingsFilterSuspiciousTitle
178+
179+
- name: Run desktop_generic protocol but connect using SUT_PROCESS_NAME and detect SuspiciousTitle
180+
run: ./gradlew runTestDesktopGenericProcessNameSuspiciousTitle
181+
182+
- name: Run desktop_generic protocol but connect using SUT_WINDOW_TITLE and detect SuspiciousTitle
183+
run: ./gradlew runTestDesktopGenericTitleNameSuspiciousTitle
184+
185+
- name: Run desktop_generic with OrientDB to infer a TESTAR State Model
186+
run: ./gradlew runTestDesktopGenericStateModel
187+
188+
- name: Run desktop_generic doing a customization in the AbstractIDCustom identifer
189+
run: ./gradlew runTestDesktopGenericStateModelCustomAbstraction
190+
191+
- name: Run webdriver protocol and detect SuspiciousTitle
192+
run: ./gradlew runTestWebdriverSuspiciousTitle
193+
194+
- name: Run webdriver to login in parabank app
195+
run: ./gradlew runTestWebdriverParabankLogin
196+
197+
- name: Run TESTAR Replay mode with a web page to check that replayed correctly
198+
run: ./gradlew runTestWebdriverCorrectReplay
199+
200+
- name: Run TESTAR Replay mode to detect a not replayable button
201+
run: ./gradlew runTestWebdriverUnreplayable
202+
203+
windows_java_17:
204+
runs-on: windows-latest
205+
timeout-minutes: 15
206+
207+
steps:
208+
- uses: actions/checkout@v2
209+
- name: Set up Java 17
210+
uses: actions/setup-java@v1
211+
with:
212+
java-version: 17
213+
214+
- name: Grant execute permission for gradlew
215+
run: chmod +x gradlew
216+
217+
- name: Prepare TESTAR protocols
218+
run: ./gradlew init_workflow_test
219+
220+
- name: Build TESTAR with Gradle
221+
run: ./gradlew build
222+
223+
- name: Prepare installed distribution of TESTAR with Gradle
224+
run: ./gradlew installDist
225+
226+
- name: Run TESTAR dialog
227+
run: ./gradlew runTestRunGUI
228+
229+
- name: Run desktop_generic protocol with TESTAR using COMMAND_LINE
230+
run: ./gradlew runTestDesktopGenericCommandLineOk
231+
232+
- name: Run desktop_generic protocol with TESTAR to test waitAndLeftClickWidgetWithMatchingTags feature
233+
run: ./gradlew runTestDesktopGenericMultiTags
234+
235+
- name: Run desktop_generic protocol that contains SuspiciousTitle with TESTAR
236+
run: ./gradlew runTestDesktopGenericCommandLineSuspiciousTitle
237+
238+
- name: Run desktop_generic protocol using specific filtering and detect a SuspiciousTitle with TESTAR
239+
run: ./gradlew runTestDesktopGenericCommandLineSettingsFilterSuspiciousTitle
240+
241+
- name: Run desktop_generic protocol but connect using SUT_PROCESS_NAME and detect SuspiciousTitle
242+
run: ./gradlew runTestDesktopGenericProcessNameSuspiciousTitle
243+
244+
- name: Run desktop_generic protocol but connect using SUT_WINDOW_TITLE and detect SuspiciousTitle
245+
run: ./gradlew runTestDesktopGenericTitleNameSuspiciousTitle
246+
247+
- name: Run desktop_generic with OrientDB to infer a TESTAR State Model
248+
run: ./gradlew runTestDesktopGenericStateModel
249+
250+
- name: Run desktop_generic doing a customization in the AbstractIDCustom identifer
251+
run: ./gradlew runTestDesktopGenericStateModelCustomAbstraction
252+
253+
- name: Run webdriver protocol and detect SuspiciousTitle
254+
run: ./gradlew runTestWebdriverSuspiciousTitle
255+
256+
- name: Run webdriver to login in parabank app
257+
run: ./gradlew runTestWebdriverParabankLogin
258+
259+
- name: Run TESTAR Replay mode with a web page to check that replayed correctly
260+
run: ./gradlew runTestWebdriverCorrectReplay
261+
262+
- name: Run TESTAR Replay mode to detect a not replayable button
263+
run: ./gradlew runTestWebdriverUnreplayable
264+
124265
linux:
125266
runs-on: ubuntu-latest
126267
timeout-minutes: 10

core/src/org/testar/ProgressFileInputStream.java

Lines changed: 0 additions & 74 deletions
This file was deleted.

core/src/org/testar/ZipManager.java

Lines changed: 0 additions & 110 deletions
This file was deleted.

0 commit comments

Comments
 (0)