{"json_modified": "2016-05-03T23:01:27.730096", "uuid": "fb4c2bff-0279-426e-b8f5-b4b9fb5c8c36", "title": "Firefox OS mochitests", "url": "/en-US/docs/Archive/Firefox_OS/Automated_testing/Mochitests", "tags": ["Firefox OS", "Automated testing", "Gaia", "Tutorial", "Mobile", "Testing"], "translations": [{"uuid": "193e468f-e6ec-42e2-a1e5-f0fce8d2fa57", "title": "Firefox OS mochitests", "url": "/pt-BR/docs/Mozilla/Firefox_OS/Platform/Automated_testing/Mochitests", "tags": [], "summary": "Mochitest \u00e9 um framework de testes automatizados constru\u00eddo no topo das bibliotecas JavaScript MochiKit, que fornece testes funcionais e de API. \u00c9 apenas um dos frameworks de testes de regress\u00e3o automatizados usados \u200b\u200bpela Mozilla. Os testes apresentam os resultados (sucesso ou falha) usando chamadas de fun\u00e7\u00f5es JavaScript. Esse artigo apresenta as etapas necess\u00e1rias para executar o Mochitests no Firefox OS, no B2G Desktop, no dispositvo ou no emulador.", "localization_tags": [], "locale": "pt-BR", "last_edit": "2014-07-30T08:07:35", "review_tags": []}], "modified": "2016-05-03T23:01:27", "label": "Firefox OS mochitests", "localization_tags": [], "locale": "en-US", "id": 54064, "last_edit": "2016-05-03T23:01:08", "summary": "Mochitest is an automated testing framework built on top of the MochiKit JavaScript libraries that\u00a0provides\u00a0functional and API tests for Firefox OS.\u00a0The Mochitests\u00a0framework's tests report success or failure to the test harness using JavaScript function calls. The following sections\u00a0take\u00a0you through the steps needed to run Mochitests on Firefox OS\u00a0via both B2G Desktop and device/emulator builds.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Running_mochitests_on_B2G_desktop_builds", "title": "Running mochitests on B2G desktop builds"}, {"id": "Using_mach", "title": "Using mach"}, {"id": "Using_the_mochitest_runner", "title": "Using the mochitest runner"}, {"id": "Prerequisites", "title": "Prerequisites"}, {"id": "Setup_for_mozilla-b2g18_trees", "title": "Setup for mozilla-b2g18 trees"}, {"id": "Setup_for_trunk_trees_including_mozilla-central", "title": "Setup for trunk trees, including mozilla-central"}, {"id": "Running_the_tests", "title": "Running the tests"}, {"id": "Running_mochitests_on_emulator_builds", "title": "Running mochitests on emulator builds"}, {"id": "Using_mach_2", "title": "Using mach"}, {"id": "Using_the_mochitest_runner_2", "title": "Using the mochitest runner"}, {"id": "Pre-requisites", "title": "Pre-requisites"}, {"id": "Setup_for_trunk_trees_including_mozilla-central_2", "title": "Setup for trunk trees, including mozilla-central"}, {"id": "Running_the_tests_2", "title": "Running the tests"}, {"id": "Running_mochitest_with_a_downloaded_emulator", "title": "Running mochitest with a downloaded emulator"}, {"id": "Running_mochitest_with_a_downloaded_emulator_and_downloaded_tests", "title": "Running mochitest with a downloaded emulator and downloaded tests"}, {"id": "Technical_Implementation_Details", "title": "Technical Implementation Details"}], "slug": "Archive/Firefox_OS/Automated_testing/Mochitests", "review_tags": []}