gradle: how to run tests of all projects?

2020-10-08 Thread Jeanette Winzenburg
With ./gradlew test I expect that tests of all projects are run (and think I have seen that expected behavior, but who knows ;), at least those projects with changes that might effect the tests. Since today (?), it looks like it stops after running base tests if there's a failure in

Re: gradle: how to run tests of all projects?

2020-10-08 Thread Kevin Rushforth
The first enables headless tests (which are in the systemTests project) s/headless/headful/ -- Kevin On 10/8/2020 7:28 AM, Kevin Rushforth wrote: "gradlew test" is sufficient to run the headless tests (e.g., the ones in base, graphics, controls, etc). To run the headful tests, there are

Re: gradle: how to run tests of all projects?

2020-10-08 Thread Kevin Rushforth
"gradlew test" is sufficient to run the headless tests (e.g., the ones in base, graphics, controls, etc). To run the headful tests, there are two additional gradle options: -PFULL_TEST=true -PUSE_ROBOT=true The first enables headless tests (which are in the systemTests project). The second ad

Re: gradle: how to run tests of all projects?

2020-10-08 Thread Jeanette Winzenburg
thanks for the quick answer :) Sounds like I wasn't clear enough, though (did mean unit tests): what I'm puzzled about is that the unit tests of a dependent project (f.i. controls) is _not_ run if the base has test failures. -- Jeanette Zitat von Kevin Rushforth : "gradlew test" is suff

Re: gradle: how to run tests of all projects?

2020-10-08 Thread Kevin Rushforth
I see. In that case, the following will run follow-on tests: gradlew --continue test That's what I usually do for a full test run. -- Kevin On 10/8/2020 7:42 AM, Jeanette Winzenburg wrote: thanks for the quick answer :) Sounds like I wasn't clear enough, though (did mean unit tests): what

Re: gradle: how to run tests of all projects?

2020-10-08 Thread Jeanette Winzenburg
ahh .. yeah, that's working, thanks :) Except that now it continues with web testing as first, and I don't know how to exclude that, something like gradlew --continue test -x :web:test just stops again after the base failure .. But don't bother - it's the end of the working day and I

Re: gradle: how to run tests of all projects?

2020-10-09 Thread Kevin Rushforth
I just tested it and it works fine for me. Are you sure the reason it didn't run the tests in the other projects (graphics, etc) was because they had been run successfully earlier and thus the tests were "up-to-date"? If you want to force the tests to rerun even if nothing has changed, you need

Re: gradle: how to run tests of all projects?

2020-10-09 Thread Jeanette Winzenburg
Zitat von Kevin Rushforth : I just tested it and it works fine for me. Are you sure the reason it didn't run the tests in the other projects (graphics, etc) was because they had been run successfully earlier and thus the tests were "up-to-date"? hmm .. not entirely certain: here's the scenar