{"json_modified": "2016-08-16T15:35:04.943323", "uuid": "f63dddd0-d2ef-4a05-b5f1-64b11b91da25", "title": "Writing xpcshell-based unit tests", "url": "/en-US/docs/Mozilla/QA/Writing_xpcshell-based_unit_tests", "tags": ["Developing Mozilla", "Mozilla", "Guide", "QA", "Automated testing"], "translations": [{"uuid": "d3e86752-fe39-4f42-98f5-7c0f0bedcf33", "title": "xpcshell\u30d9\u30fc\u30b9\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\uff08\u5358\u4f53\u30c6\u30b9\u30c8\uff09\u306e\u66f8\u304d\u65b9", "url": "/ja/docs/Writing_xpcshell-based_unit_tests", "tags": ["Developing Mozilla", "Automated testing"], "summary": "xpcshell \u30c4\u30fc\u30eb\u306f\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u306e\u6a5f\u80fd\u306e\u30c6\u30b9\u30c8\u306b\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002XPCOM \u306e\u5c64\u3067\uff08\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u5229\u7528\u53ef\u80fd\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u901a\u3058\u3066\uff09\u5229\u7528\u53ef\u80fd\u306a\u7269\u306f\u3001xpcshell \u3067\u30c6\u30b9\u30c8\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002\u3088\u308a\u591a\u304f\u306e\u60c5\u5831\u3078\u306e\u624b\u304c\u304b\u308a\u3092\u5f97\u308b\u306b\u306fMozilla \u306e\u81ea\u52d5\u30c6\u30b9\u30c8\u304a\u3088\u3073 \"automated testing\" \u30bf\u30b0\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u30da\u30fc\u30b8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2015-09-16T20:20:18", "review_tags": []}], "modified": "2016-08-16T15:35:04", "label": "Writing xpcshell-based unit tests", "localization_tags": [], "locale": "en-US", "id": 1186, "last_edit": "2016-08-16T15:34:59", "summary": "", "sections": [{"id": "Your_first_xpcshell-based_test", "title": "Your first xpcshell-based test"}, {"id": "Adding_to_your_test", "title": "Adding to your test"}, {"id": "XPCShell_test_utility_functions", "title": "XPCShell test functions"}, {"id": "Test_case_registration_and_execution", "title": "Test case registration and execution"}, {"id": "Assertions_and_logging", "title": "Assertions and logging"}, {"id": "Environment", "title": "Environment"}, {"id": "Utility", "title": "Utility"}, {"id": "Conditional_test_functions", "title": "Conditional test functions"}, {"id": "Async_tests", "title": "Async tests"}, {"id": "Task-based_asynchronous_tests", "title": "Task-based asynchronous tests"}, {"id": "Callback-based_asynchronous_tests", "title": "Callback-based asynchronous tests"}, {"id": "Other_tests", "title": "Other tests"}, {"id": "Testing_under_Electrolysis", "title": "Testing under Electrolysis"}, {"id": "Platform-specific_tests", "title": "Platform-specific tests"}, {"id": "Runtime_detection", "title": "Runtime detection"}, {"id": "Adding_your_tests_to_the_xpcshell_manifest", "title": null}, {"id": "Adding_conditions_to_a_test", "title": "Adding conditions to a test"}, {"id": "skip-if", "title": "skip-if"}, {"id": "run-if", "title": "run-if"}, {"id": "fail-if", "title": "fail-if"}, {"id": "run-sequentially", "title": "run-sequentially"}, {"id": "Manifest_conditional_expressions", "title": "Manifest conditional expressions"}, {"id": "Running_unit_tests", "title": "Running unit tests"}, {"id": "Running_unit_tests_under_a_C.2B.2B_debugger", "title": "Running unit tests under a C++ debugger"}, {"id": "Via_check-interactive", "title": "Via "}, {"id": "Debugging_Electrolysis_(e10s)_xpcshell_tests", "title": "Debugging Electrolysis (e10s) xpcshell tests"}, {"id": "To_debug_the_chrome_process", "title": "To debug the chrome process"}, {"id": "To_debug_the_child_process", "title": "To debug the child process"}, {"id": "To_debug_both_parent_and_child_processes", "title": "To debug both parent and child processes"}, {"id": "Common_problems", "title": "Common problems"}], "slug": "Mozilla/QA/Writing_xpcshell-based_unit_tests", "review_tags": []}