{"json_modified": "2016-09-08T14:39:26.848276", "uuid": "d5e1686b-c0cd-4f92-b62f-ed13857c80e0", "title": "Mochitest", "url": "/en-US/docs/Mozilla/Projects/Mochitest", "tags": ["Developing Mozilla", "Automated testing"], "translations": [{"uuid": "2dde13a9-0337-4613-8b75-169a2122d3c9", "title": "Mochitest", "url": "/ja/docs/Mochitest", "tags": ["Developing Mozilla", "Automated testing"], "summary": "Mochitest\u306f\u3001MochiKit JavaScript\u30e9\u30a4\u30d6\u30e9\u30ea\u306b\u57fa\u3065\u3044\u3066\u69cb\u7bc9\u3055\u308c\u305f\u81ea\u52d5\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002\u3053\u308c\u306fMozilla\u306b\u3088\u3063\u3066\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u3001\u5f8c\u9000\u30d0\u30b0\u306e\u81ea\u52d5\u30c6\u30b9\u30c8\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u4e00\u3064\u3067\u3059\u3002\u30c6\u30b9\u30c8\u306f\u30c6\u30b9\u30c8\u30cf\u30fc\u30cd\u30b9\u306b\u5bfe\u3057\u3066\u3001JavaScript\u306e\u95a2\u6570\u3092\u7528\u3044\u3066\u6210\u529f\u3042\u308b\u3044\u306f\u5931\u6557\u306e\u65e8\u3092\u5831\u544a\u3057\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2012-11-07T07:49:42", "review_tags": []}], "modified": "2016-09-08T14:39:26", "label": "Mochitest", "localization_tags": [], "locale": "en-US", "id": 558, "last_edit": "2016-09-08T14:39:18", "summary": "Mochitest is an automated testing framework built on top of the MochiKit JavaScript libraries. It's just one of the automated regression testing frameworks used by Mozilla. Tests report success or failure to the test harness using JavaScript function calls.", "sections": [{"id": "Running_tests", "title": "Running tests"}, {"id": "Running_the_whole_test_suite", "title": "Running the whole test suite"}, {"id": "Running_select_tests", "title": "Running select tests"}, {"id": "Running_flavors_and_subsuites", "title": "Running flavors and subsuites"}, {"id": "Running_specific_chunks", "title": "Running specific chunks"}, {"id": "Running_tests_on_comm-central_(Thunderbird_SeaMonkey)", "title": "Running tests on comm-central (Thunderbird, SeaMonkey)"}, {"id": "Running_mochitests_under_Electrolysis_(e10s)_for_Fennec", "title": "Running mochitests under Electrolysis (e10s) for Fennec"}, {"id": "Running_mochitests_under_Electrolysis_(e10s)_for_Desktop_builds.", "title": "Running mochitests under Electrolysis (e10s) for Desktop builds."}, {"id": "Running_and_debugging_mochitests_on_Android", "title": "Running and debugging mochitests on Android"}, {"id": "Running_failed_tests", "title": "Running failed tests"}, {"id": "Debugging_individual_tests", "title": "Debugging individual tests"}, {"id": "Finding_errors", "title": "Finding errors"}, {"id": "Logging_results", "title": "Logging results"}, {"id": "Diverting_X_output", "title": "Diverting X output"}, {"id": "Running_tests_without_mach", "title": "Running tests without mach"}, {"id": "Other_.27runtests.27_options", "title": "Other "}, {"id": "Writing_tests", "title": "Writing tests"}, {"id": "Try_to_avoid_Mochitest", "title": "Try to avoid Mochitest"}, {"id": "Best_practices", "title": "Best practices"}, {"id": "Test_templates", "title": "Test templates"}, {"id": "Asynchronous_Tests", "title": "Asynchronous Tests"}, {"id": "Test_functions", "title": "Test functions"}, {"id": "Helper_functions", "title": "Helper functions"}, {"id": "Adding_tests_to_the_tree", "title": "Adding tests to the tree"}, {"id": "Choosing_a_location", "title": "Choosing a location"}, {"id": "Add_an_entry_to_mochitest.ini", "title": "Add an entry to "}, {"id": "Adding_a_new_mochitest.ini_or_chrome.ini_file", "title": "Adding a new mochitest.ini or chrome.ini file"}, {"id": "Building_and_running_new_tests", "title": "Building and running new tests"}, {"id": "SSL", "title": "SSL and "}, {"id": "How_it_works", "title": "How it works"}, {"id": "stacks", "title": "Getting Stack Traces"}, {"id": "FAQ", "title": "FAQ"}, {"id": "What_if_my_tests_aren.27t_done_when_onload_fires.3F", "title": "What if my tests aren't done when onload fires?"}, {"id": "How_can_I_get_the_full_log_output_for_my_test_in_automation_for_debugging", "title": "How can I get the full log output for my test in automation for debugging?"}, {"id": "What_if_I_need_to_change_a_preference_to_run_my_test.3F", "title": "What if I need to change a preference to run my test?"}, {"id": "Can_tests_be_run_under_a_chrome_URL.3F", "title": "Can tests be run under a chrome URL?"}, {"id": "How_can_I_get_around_the_error_.22Permission_denied_to_get_property_XPCComponents.classes.22.3F", "title": "How can I get around the error \"Permission denied to get property XPCComponents.classes\"?"}, {"id": "How_do_I_change_the_HTTP_headers_or_status_sent_with_a_file_used_in_a_Mochitest.3F", "title": "How do I change the HTTP headers or status sent with a file used in a Mochitest?"}, {"id": "How_do_I_test_issues_which_only_show_up_when_tests_are_run_across_domains.3F", "title": "How do I test issues which only show up when tests are run across domains?"}, {"id": "How_do_I_write_tests_that_check_header_values.2C_method_types.2C_etc._of_HTTP_requests.3F", "title": "How do I write tests that check header values, method types, etc. of HTTP requests?"}, {"id": "Properties_and_methods_of_Request_object", "title": "Properties and methods of "}, {"id": "How_do_I_keep_state_across_loads_of_different_server-side_scripts.3F", "title": "How do I keep state across loads of different server-side scripts?"}, {"id": "How_do_I_write_a_SJS_script_which_responds_asynchronously", "title": "How do I\u00a0write a SJS\u00a0script which responds asynchronously"}, {"id": "How_do_I_change_the_HTTP_headers_or_status_sent_with_a_file_used_in_a_Mochitest.3F", "title": "How do I get access to the files on the server as XPCOM\u00a0objects from an SJS script? (1.9.3 or later)"}], "slug": "Mozilla/Projects/Mochitest", "review_tags": []}