{"id":250,"date":"2026-03-02T17:25:18","date_gmt":"2026-03-02T17:25:18","guid":{"rendered":"https:\/\/sites.nd.edu\/softwaretesting\/?page_id=250"},"modified":"2026-03-03T21:11:20","modified_gmt":"2026-03-03T21:11:20","slug":"black-box-testing","status":"publish","type":"page","link":"https:\/\/sites.nd.edu\/softwaretesting\/testing-techniques\/black-box-testing\/","title":{"rendered":"Black Box Testing"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"843\" height=\"188\" src=\"https:\/\/sites.nd.edu\/softwaretesting\/files\/2026\/03\/Black-Box-1.jpg\" alt=\"\" class=\"wp-image-431\" srcset=\"https:\/\/sites.nd.edu\/softwaretesting\/files\/2026\/03\/Black-Box-1.jpg 843w, https:\/\/sites.nd.edu\/softwaretesting\/files\/2026\/03\/Black-Box-1-300x67.jpg 300w, https:\/\/sites.nd.edu\/softwaretesting\/files\/2026\/03\/Black-Box-1-768x171.jpg 768w\" sizes=\"auto, (max-width: 843px) 100vw, 843px\" \/><\/figure>\n\n\n\n<p>Functional or behavioral testing checks whether the application behaves correctly based on requirements.<\/p>\n\n\n\n<p>This includes testing both <strong>valid<\/strong> and <strong>invalid<\/strong> usage.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Positive Testing (Valid Use)<\/h3>\n\n\n\n<p>Tests what <strong>should <\/strong>work.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Uses valid data<\/li>\n\n\n\n<li>Follows expected steps<\/li>\n\n\n\n<li>Includes:\n<ul class=\"wp-block-list\">\n<li><strong>Happy Path<\/strong> \u2013 the most common way users will use the feature<\/li>\n\n\n\n<li><strong>Alternate Paths<\/strong> \u2013 different valid ways to achieve the same result<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>If no data is involved, simply using the feature correctly counts as positive testing.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Negative Testing (Invalid Use)<\/h3>\n\n\n\n<p>Tests what <strong>should not<\/strong> work.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Uses invalid data or incorrect steps<\/li>\n\n\n\n<li>Ensures the system:\n<ul class=\"wp-block-list\">\n<li>Doesn\u2019t crash<\/li>\n\n\n\n<li>Displays helpful error messages<\/li>\n\n\n\n<li>Handles mistakes gracefully<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p><strong>Example:<\/strong><br>Entering letters in a numeric field or skipping required steps.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Functional or behavioral testing checks whether the application behaves correctly based on requirements. This includes testing both valid and invalid usage. Positive Testing (Valid Use) Tests what should work. If no data is involved, simply using the feature correctly counts as positive testing. Negative Testing (Invalid Use) Tests what should not work. Example:Entering letters in [&hellip;]<\/p>\n","protected":false},"author":4975,"featured_media":0,"parent":226,"menu_order":1,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-250","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/pages\/250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/users\/4975"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/comments?post=250"}],"version-history":[{"count":4,"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/pages\/250\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/pages\/250\/revisions\/432"}],"up":[{"embeddable":true,"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/pages\/226"}],"wp:attachment":[{"href":"https:\/\/sites.nd.edu\/softwaretesting\/wp-json\/wp\/v2\/media?parent=250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}