{"action":"created","issue":{"url":"https://api.github.com/repos/phetsims/chipper/issues/478","repository_url":"https://api.github.com/repos/phetsims/chipper","labels_url":"https://api.github.com/repos/phetsims/chipper/issues/478/labels{/name}","comments_url":"https://api.github.com/repos/phetsims/chipper/issues/478/comments","events_url":"https://api.github.com/repos/phetsims/chipper/issues/478/events","html_url":"https://github.com/phetsims/chipper/issues/478","id":173318419,"number":478,"title":"test-server: fix buggy behavior/doc for \"loadOnly\" query param","user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/phetsims/chipper/labels/type:bug","name":"type:bug","color":"FF00AA"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-25T21:47:29Z","updated_at":"2016-09-13T16:04:13Z","closed_at":null,"body":"Skype:\r\n[8/25/16, 3:23:48 PM] Chris Malley: Anyone know how to run test-server in a mode that only tests that each sim launches?\r\n[8/25/16, 3:25:07 PM] Jonathan Olson: chipper/test-server/test-sims.html?loadOnly\r\n[8/25/16, 3:43:13 PM] Chris Malley: chipper/test-server/test-sims.html?loadOnly appears to be also building the sims. Bug?\r\n[8/25/16, 3:43:33 PM] Jonathan Olson: will also test load-only on build sims\r\n[8/25/16, 3:43:37 PM] Jonathan Olson: can turn off the server part of it\r\n[8/25/16, 3:43:40 PM] Jonathan Olson: if you only want them to require.js\r\n[8/25/16, 3:44:05 PM] Chris Malley: Doc for loadOnly query param says: \"// verify that sims start in requirejs mode, skip other tests\".\r\n[8/25/16, 3:44:16 PM] Chris Malley: Says nothing about built mode.\r\n[8/25/16, 3:45:40 PM] Jonathan Olson: Then it's bad documentation?"},"comment":{"url":"https://api.github.com/repos/phetsims/chipper/issues/comments/246733060","html_url":"https://github.com/phetsims/chipper/issues/478#issuecomment-246733060","issue_url":"https://api.github.com/repos/phetsims/chipper/issues/478","id":246733060,"user":{"login":"pixelzoom","id":3046552,"avatar_url":"https://avatars.githubusercontent.com/u/3046552?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelzoom","html_url":"https://github.com/pixelzoom","followers_url":"https://api.github.com/users/pixelzoom/followers","following_url":"https://api.github.com/users/pixelzoom/following{/other_user}","gists_url":"https://api.github.com/users/pixelzoom/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelzoom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelzoom/subscriptions","organizations_url":"https://api.github.com/users/pixelzoom/orgs","repos_url":"https://api.github.com/users/pixelzoom/repos","events_url":"https://api.github.com/users/pixelzoom/events{/privacy}","received_events_url":"https://api.github.com/users/pixelzoom/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T16:04:13Z","updated_at":"2016-09-13T16:04:13Z","body":"I don't know where you're looking for documentation, but in test-sims.js:\r\n\r\n```js\r\n7 // verify that sims start in requirejs mode, skip other tests\r\n8 var loadOnly = !!phet.chipper.getQueryParameter( 'loadOnly' );\r\n```\r\n\r\nSo the documentation clear indicates requirejs mode, *not* both modes.\r\n\r\nFor this issue, let's fix either the documentation or the behavior.  \r\n\r\nIn general, we need a way to specify which specific tests we want to run, and for which modes. Something like:\r\n\r\n```.../test-sims.html?mode=requirejs&tests=load```\r\n\r\nmode: which mode to run in, 'build' or 'requirejs', defaults to both\r\ntests: which tests to run, 'load', 'fuzz',..., default to all tests"}}
{"actor":{"display_login":"pixelzoom"}}