Jump to content

best/fast way to write test cases


DudeAwesome
 Share

Recommended Posts

how you write testcases for your functions/classes in lua? Is there a way to do it like in other languages (phpUnit, jUnit)

 

if the codes grows up more and more its harder to find bugs and avoid exceptions. I will try to avoid this in the future.

It doesn´t work... why? mhmmm It works... why?

Link to comment
Share on other sites

This is what I do everyday professionally, a combination of automated, manual and unit tests. Just adopted Coded UI for GUI testing.

 

It always IS a pain but it's how you ensure quality and reduce the number of bugs that reach your customers and giving a ****ty impression of your product Even having those testing processes in place demonstrates you take quality seriously.

 

You can do it for graphics, certainly you can have tests that check physics, parenting, hiding, movement and confirm these entities behaved as expected. Generally test cases are different from unit testing and involves manual testing to confirm that when you do action "a" you get result "b". (Think of all those small examples in the documentation, could be tweaked for a regression test suite to be run every major release).

 

End users shouldn't be doing this for middleware, your own code maybe.

6600 2.4G / GTX 460 280.26 / 4GB Windows 7

Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT

Tricubic Studios Ltd. ~ Combat Helo

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...