Skip to content
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

Implement Abstract Test Module for UI Tests #167

Open
eholum opened this issue Oct 28, 2015 · 2 comments
Open

Implement Abstract Test Module for UI Tests #167

eholum opened this issue Oct 28, 2015 · 2 comments

Comments

@eholum
Copy link
Member

eholum commented Oct 28, 2015

A few things we may want to cover here (building on IrisUISpecAdapter and each existing unit test that leverages UISpec4j.

What are the common aspects to GUI tests? SAMP interception? Setting up workspace?

@olaurino
Copy link
Member

And a basic class that sets up a minimal Iris desktop for unit testing JInternalFrames, with a SAMP mock, mock event handlers and generators, and so on.

@eholum
Copy link
Member Author

eholum commented Nov 9, 2015

Some of that work was done here:

9dca68c#diff-7980a8d22524e9066132f1fdc84f8aafR1

With the stubbed application implementation:

9dca68c#diff-3e6130494ab1a0a678390a6b29e089efR1

There's some more work to be done figuring out how to appropriately reset the desktop components between unit tests. There are mechanisms in there that will allow injection of stubbed workspaces and desktops as well. The parent class should be expanded to including setting those up, as well as methods for setting expectations and data sets.

olaurino added a commit that referenced this issue Nov 13, 2015
… Adding Dummy Visualizer and Fitting Tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants