-
Notifications
You must be signed in to change notification settings - Fork 507
8319555: [TestBug] Utility for creating instruction window for manual tests #1747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
8319555: [TestBug] Utility for creating instruction window for manual tests #1747
Conversation
👋 Welcome back angorya! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
|
Without using an IDE (which is the default use case for manual tests), how would someone compile and run these? /reviewers 2 |
@kevinrushforth |
Frankly, I have no idea. We might create a special module which contains common test code and utilities, I suppose. Any suggestions will be greatly appreciated! The following command line expectedly fails because it can't find
|
On a related note, where is it documented how to run manual tests? https://wiki.openjdk.org/display/OpenJFX/Building+OpenJFX#BuildingOpenJFX-Testing |
It isn't documented anywhere. Nor are the tests wired up to the build. We have the following test sprint bug filed: JDK-8296441: Build and run manual tests from gradle We might want to do that one first before implementing this one. Without some way from gradle, ant, or a shell script, it will be difficult to run any of the tests that start using this utility. |
When I was working on my manual tests @tsayao provided a useful tip. If you change the
It would be nice if all the manual tests did this, it makes them a lot easier to interact with. |
Good idea. I might need some help with this though - this command line
I do have the |
Sorry, I don't think this can be made to work. I've been able to get Java's single-file source code mode to compile classes from more than one file but I now realize the setup is too restrictive to work here and isn't actually documented. |
The only other though I have is to build a special |
I like the idea of a standard test utility, as long as there is some sort of build script or easy way to get at it. Probably not We might want to wait until we implement at least part of JDK-8296441 is implemented. |
ok, postponing until JDK-8296441 is done. |
Provides the base class for manual tests which displays the test instructions, the UI under test, and the Pass/Fail buttons.
Uses
EmojiTest
to illustrate the use of the new class.Example:
Progress
Warning
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1747/head:pull/1747
$ git checkout pull/1747
Update a local copy of the PR:
$ git checkout pull/1747
$ git pull https://git.openjdk.org/jfx.git pull/1747/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 1747
View PR using the GUI difftool:
$ git pr show -t 1747
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1747.diff
Using Webrev
Link to Webrev Comment