{"id":8233,"date":"2021-12-01T08:31:37","date_gmt":"2021-12-01T08:31:37","guid":{"rendered":"https:\/\/thichblog.net\/?p=8233"},"modified":"2021-12-01T08:31:37","modified_gmt":"2021-12-01T08:31:37","slug":"test-oracle-la-gi","status":"publish","type":"post","link":"https:\/\/vibeshelf.me\/?p=8233","title":{"rendered":"Test oracle l\u00e0 g\u00ec?"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Test Oracle is a mechanism, different from the program itself, that can be used to test the accuracy of a program\u2019s output for test cases. Conceptually, we can consider testing a process in which test cases are given for testing and the program under test. The output of the two then compares to determine whether the program behaves correctly for test cases.<\/p><\/blockquote>\n\n\n\n<p>Test Oracle l\u00e0 m\u1ed9t c\u01a1 ch\u1ebf kh\u00e1c v\u1edbi b\u1ea3n th\u00e2n ch\u01b0\u01a1ng tr\u00ecnh, v\u00e0 \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng \u0111\u1ec3 ki\u1ec3m tra s\u1ef1 ch\u00ednh x\u00e1c c\u1ee7a k\u1ebft qu\u1ea3 c\u00e1c tr\u01b0\u1eddng h\u1ee3p ki\u1ec3m th\u1eed.<\/p>\n\n\n\n<p>Thu\u1eadt ng\u1eef &#8220;test oracle&#8221; l\u1ea7n \u0111\u1ea7u ti\u00ean \u0111\u01b0\u1ee3c gi\u1edbi thi\u1ec7u trong m\u1ed9t b\u00e0i b\u00e1o c\u1ee7a William E. Howden. Sau \u0111\u00f3, Elaine Weyuker \u0111\u00e3 kh\u00e1m ph\u00e1 ra c\u00e1c ph\u00e2n lo\u1ea1i kh\u00e1c nhau c\u1ee7a &#8220;test oracle&#8221;.<\/p>\n\n\n\n<p>M\u1ed9t \u0111\u1ecbnh ngh\u0129a kh\u00e1c v\u1ec1 test oracle l\u00e0:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&#8220;A source to determine expected results to compare with the actual result of the software under test. An oracle may be the existing system (for a benchmark), other software, a user manual, or an individual\u2019s specialized knowledge, but should not be the code.<\/p><cite><em>ISTQB Glossary definition<\/em><\/cite><\/blockquote>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>In short, Where you get your &#8216;expected results&#8217; defined form is what a test oracle is.<\/p><\/blockquote>\n\n\n\n<p>H\u00ecnh sau s\u1ebd th\u1ec3 hi\u1ec7n r\u00f5 test oralce ho\u1ea1t \u0111\u1ed9ng nh\u01b0 th\u1ebf n\u00e0o:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/media.geeksforgeeks.org\/wp-content\/uploads\/20200424175433\/Untitled-Diagram-352.png\" alt=\"Lightbox\"\/><figcaption>(Ngu\u1ed3n: internet)<\/figcaption><\/figure><\/div>\n\n\n\n<p>T\u00f3m l\u1ea1i, test oracle l\u00e0:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>M\u1ed9t ngu\u1ed3n \u0111\u1ec3 x\u00e1c \u0111\u1ecbnh k\u1ebft qu\u1ea3 \u0111\u1ea7u ra c\u1ee7a h\u1ec7 th\u1ed1ng.<\/li><li>Ho\u1eb7c m\u1ed9t h\u1ec7 th\u1ed1ng \u0111\u00e3 t\u1ed3n t\u1ea1i d\u00f9ng \u0111\u1ec3 l\u00e0m chu\u1ea9n.<\/li><li>C\u00e1c ph\u1ea7n m\u1ec1m, h\u01b0\u1edbng d\u1eabn s\u1eed d\u1ee5ng ho\u1eb7c hi\u1ec3u bi\u1ebft c\u00e1 nh\u00e2n v\u1ec1 h\u1ec7 th\u1ed1ng. Nh\u01b0ng kh\u00f4ng ph\u1ea3i l\u00e0 m\u00e3 ngu\u1ed3n c\u1ee7a ch\u01b0\u01a1ng tr\u00ecnh \u0111\u01b0\u1ee3c ki\u1ec3m th\u1eed.<\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Test Oracle is a mechanism, different from the program itself, that can be used to test the accuracy of a program\u2019s output for test cases. Conceptually, we can consider testing a process in which test cases are given for testing and the program under test. The output of the two then compares to determine whether [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":8299,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[231,331,592,593],"class_list":["post-8233","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-testing","tag-full-stack-tester","tag-kiem-thu-phan-mem","tag-test-oracle","tag-test-oracle-la-gi"],"_links":{"self":[{"href":"https:\/\/vibeshelf.me\/index.php?rest_route=\/wp\/v2\/posts\/8233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vibeshelf.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vibeshelf.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vibeshelf.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vibeshelf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8233"}],"version-history":[{"count":0,"href":"https:\/\/vibeshelf.me\/index.php?rest_route=\/wp\/v2\/posts\/8233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vibeshelf.me\/index.php?rest_route=\/"}],"wp:attachment":[{"href":"https:\/\/vibeshelf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vibeshelf.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vibeshelf.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}