Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by zamylin · Nov 09, 2012 at 03:03 AM · testingsimulation

Testing in Unity3d

I came from the Ruby universe, where testing is seen as the most fruitful activity.

I tried to google "Testing in Unity3d", but it doesn't return anything promising. Is it because it is not considered important? Is it because it is hard and very expensive to do?

Specifically, I would like to use some kind of acceptance tests in my game. Is there anything simular to Cucumber and Capybara/Selenium in Unity3d?

P.S. I saw cukunity, but it works only for touch devises.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by asafsitner · Nov 09, 2012 at 04:52 PM

I haven't tried any of it, but **this AltDevBlog entry** appears to cover what you are looking for.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image xmontero · Apr 01, 2015 at 02:11 PM 0
Share

Link seems broken (404). Alternative link would be much appreciated. Or keywords of what the content of that page was (to find similar content).

avatar image Ben-BearFish · Dec 16, 2016 at 01:36 AM 0
Share

I believe this is the latest link: http://altdevblog.com/2012/03/05/unit-testing-in-unity/

avatar image
0

Answer by IronFurball · Nov 09, 2012 at 03:23 PM

What exactly do you mean by "testing", in unity u cant terst the game youve made by simply pressing the little play icon at the top of the screen.

As a second option, you can also go to: file-build settings, select the platform you wish to test on, and hit build.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image zamylin · Nov 09, 2012 at 03:33 PM 0
Share

I mean unit and integration tests. The idea is to use BDD and TDD approach to game development, where you would write a test first and then you would write a code for the test to succeed.

avatar image
0

Answer by armoredpokey · Dec 05, 2013 at 03:18 PM

I'm also from the Ruby universe, and I'm definitely feeling the lack of an easy test framework too. This isn't really akin to cucumber; I feel like true integration and acceptance testing is still really hard to accomplish, but I've managed to do a lot with it so far: https://github.com/asross/unity_tests

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by androidideas · Mar 31, 2015 at 10:17 AM

Check out Unity Test Tools:

https://www.assetstore.unity3d.com/#/content/13802

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Disply ad not calling in Device 0 Answers

Is there a way to ensure Awake is called in Unit tests? 2 Answers

RigidBody Physics Flight Simulator Script Help 1 Answer

How to import the object from server to unity 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges