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

Confirmation about Unit Testing #103

Open
byroncho opened this issue Nov 4, 2013 · 0 comments
Open

Confirmation about Unit Testing #103

byroncho opened this issue Nov 4, 2013 · 0 comments

Comments

@byroncho
Copy link

byroncho commented Nov 4, 2013

I'm just going to list how I think the unit testing is supposed to be handled. If I'm wrong in any way, please let me know.

  1. Starting with creating an interface class for any Agent interacting with the CashierAgent. (waiters and customers, in my case)
  2. Within the interface classes, create prototypes for the relevant methods in the messages and actions
  3. Change the CashierAgent to use the interfaces instead of the agent classes
  4. Within the CashierTest, test for all possible scenarios, starting with the normative.
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

1 participant