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

Add Junit tests #13

Open
bronhuston opened this issue Feb 6, 2014 · 5 comments
Open

Add Junit tests #13

bronhuston opened this issue Feb 6, 2014 · 5 comments

Comments

@bronhuston
Copy link
Contributor

Add additional Junit tests to the existing test cases.

~estimated 100

@pconrad
Copy link
Contributor

pconrad commented Feb 12, 2014

@sarahdarwiche with @benjaminhartl

@kjorg50
Copy link
Contributor

kjorg50 commented Mar 10, 2014

Since the interactions of the GUI components are the main feature of the game, you should also explore how to write JUnit tests for GUIs. Using the Java Robot class should be helpful. Here is one link to get started looking for more info

http://docs.oracle.com/javase/7/docs/api/java/awt/Robot.html

That way, you could things like making sure the ball hits off of the paddles and walls correctly

@zhanchengqian
Copy link
Contributor

F16 OK

@brianslee
Copy link
Contributor

Additional tests would be good. W18 Ok 100 Pts.

@xingxinggeng xingxinggeng mentioned this issue Mar 1, 2018
@brianslee
Copy link
Contributor

Implemented in w18 branch. Transfer code over to main branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants