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

test runner / avatar test updates to make it work with current #339

Closed
wants to merge 5 commits into from

Conversation

antont
Copy link
Member

@antont antont commented Feb 2, 2012

was trying out the pretty nice automated test running system that the CIE guys made last year, and ported to tundra2 in the autumn.

it can run e.g. a server + clients that connect to it automatically with one command, log outputs and net usage with Wireshark, and nice html reports which are archived in zip etc.

fixed little things on the test running side to work with current.

the controversial part: i also adapted the stock reX avatar app client side to work in headless mode. just to make the old / pre-existing test against it run (that test is quite fun, headless js clients send av movement entity actions - i ran 26 clients on my laptop and watched them move their avs in a headed local server :) . this is useful at least if we want to use automated tests in the future to ensure that the av app doesn't break. possibly useful if it makes sense to use the av app for load testing as well. the client test sequence in the test script is quite nice to mimick human behav, the avs don't move all the time etc.

also cherry-picked a hack from the websocket branch to bring back server side avatar rotation support to the av app server side, as the old av test assumed it (like the old webnaali as well). might be better to implement client side rot in the av test and drop those commits - this pull request is more just drafting, not necessarily to be merged in this state.

antont added 5 commits February 2, 2012 01:21
… was developed against it earlier. probably better handle rot in the client side in the websocket+webgl client as well, but didn't do that now.
…de, bw compat for old webnaali), fixes strangeness and perhaps even a crash
…to look at the tests too :) fix client-server test ref to av app which now uses the scene.txml convention
@erno
Copy link
Member

erno commented Feb 3, 2012

We just got the buildbot online again, so could add test running after this goes in.

@juj
Copy link
Contributor

juj commented Jun 19, 2012

I don't want to litter the Avatar sample with WebNaali-related test code, which alters the behavior for standard Tundra execution. Could we make this a separate sample scene?

@juj juj closed this Jun 19, 2012
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.

None yet

3 participants