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

Adding example test based on Unity Test Tool #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

haysclark
Copy link

I just found out about the Unity Test Tool the other day and put the MainStartupCommand under test. As the command uses the static 'Application' variable I wrapped that class with a ApplicationWrapper class and an IApplication interface.

I did not include the Unity Test Tool in my commit so you still need to locally Import the project into strangerocks. Unity Test Tool is free and maybe it should be included. Unity Test Tool located here: https://www.assetstore.unity3d.com/#/content/13802

I followed Unity's advice and put the 'tests' in the 'Editor' folder so that they are not included in the actual game.

Let me know what you think.

Cheers,
Hays

…e static Application class. Migrating code to use new wrapped and putting MainStartupCommand.cs under test. Using but not including the Unity Test Tool located here: https://www.assetstore.unity3d.com/#/content/13802
@srimarc
Copy link
Contributor

srimarc commented Jan 2, 2014

Thanks Hays! Not in a position where I can look at this today...probably tomorrow or Friday.

@haysclark
Copy link
Author

No problem. I'll be back in the office tomorrow. I'm curious about getting Travis-CI running with Unity3d but it might not be worth the effort.

Happy new year!

-Hays


Brevity and typos provided by iPhone.

On Jan 1, 2014, at 7:20 PM, srimarc [email protected] wrote:

Thanks Hays! Not in a position where I can look at this today...probably tomorrow or Friday.


Reply to this email directly or view it on GitHub.

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

Successfully merging this pull request may close these issues.

2 participants