How do I create automatic tests for my project?

Get help using Construct 2

Post » Thu May 15, 2014 4:55 pm

is there a plugin or any way to create automatic tests for my construct2 project? Or maybe a kind of test that´s not just executing the game and doing it manually
B
5
S
1
Posts: 27
Reputation: 425

Post » Thu May 15, 2014 5:16 pm

What do you mean by test.
Test the game play ?
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Thu May 15, 2014 5:20 pm

yeah, and using the game logic. For example: Test when character do gameover. Test if character completes phrase... But automatic, as in: I can test it without the user having to move the character using his keyboard. Just like in junit for eclipse in a java project
B
5
S
1
Posts: 27
Reputation: 425

Post » Thu May 15, 2014 6:15 pm

You would test logic and gameplay manually using the built-in debugger and possibly a custom made debug layout that will show whatever variable or system information you require.

I can't see how you could automate this, or even why you would want to. Testing surely needs human input to make a valid reasoned judgement on whether the game looks and plays as you want it to.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,418
Reputation: 59,522

Post » Thu May 15, 2014 6:21 pm

the tests could be like selenium too: I am testing my software and recording the button clicks and movements i make... Then, i stop recording and my test is built. I can re-run this test by executing it again and i don´t need to click on the buttons or move the character again, my test file wiil automatically move and click wherever i have clicked when i recorded me playing the game.
B
5
S
1
Posts: 27
Reputation: 425


Return to How do I....?

Who is online

Users browsing this forum: gskunk and 38 guests