<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Verification and Validation on António Rito Silva</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/</link><description>Recent content in Verification and Validation on António Rito Silva</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 30 Nov 2026 18:58:29 +0000</lastBuildDate><atom:link href="https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/index.xml" rel="self" type="application/rss+xml"/><item><title>Black and White-box</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/black-and-white-box/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/black-and-white-box/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;&#10;&#9;&#9;&#9;&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/elP7p2N57kM?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;&#10;&#9;&#9;&lt;/div&gt;&#10;&#10;&lt;p&gt;When a software artefact is being tested it is necessary to identify the set of tests, the &lt;a href="http://en.wikipedia.org/wiki/Test_case"&gt;test cases&lt;/a&gt;, that provides a good &lt;a href="http://en.wikipedia.org/wiki/Code_coverage"&gt;code coverage&lt;/a&gt;, which increases the probability of detecting faults in the code. There are two strategies of testing: &lt;a href="http://en.wikipedia.org/wiki/Black-box_testing"&gt;black-box testing&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/White-box_testing"&gt;white-box testing&lt;/a&gt;. In black-box testing the testers verify the results of the execution of the artefact against a specification of its behavior, whereas in white-box testing testers know how the artefact was implemented. Therefore, in the former the tests are driven by a description that was actually used to produce the software artefact, and the in the later the tests are driven by the artefact description itself.&lt;/p&gt;</description></item><item><title>Build the Right Product</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/build-the-right-product/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/build-the-right-product/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;&#10;&#9;&#9;&#9;&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/Se_OBTEvm5g?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;&#10;&#9;&#9;&lt;/div&gt;&#10;&#10;&lt;p&gt;When we are deeply involved in a process we often forget about the reason why we are doing the work. This is not necessarily bad because it allows us to be precise and accurate with the methods and techniques we are using. However, if we forget the final goal, we can create perfect models that do not solve anything.&lt;/p&gt;</description></item><item><title>Reviews and Inspections</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/reviews-and-inspections/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/reviews-and-inspections/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;&#10;&#9;&#9;&#9;&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/QwdmnQSWm80?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;&#10;&#9;&#9;&lt;/div&gt;&#10;&#10;&lt;p&gt;Reviews and inspections are used to verify the quality of descriptions by auditing their content. &lt;a href="http://en.wikipedia.org/wiki/Software_inspection"&gt;Software inspection&lt;/a&gt; has proved to be very successful, it is reported that it can help to identify more that 60% of the errors in code(1). These techniques can be applied to any kind of description. For instance, during code inspections the reviewers verify whether the code follows the established &lt;a href="http://en.wikipedia.org/wiki/Coding_conventions"&gt;coding conventions&lt;/a&gt;, and variables and functions do not have ambiguous names. Additionally, techniques like cross-checking, which help to verify the consistency of two specifications, are frequently applied to descriptions of requirements, e.g. to verify that all the entities referred in a set of &lt;a href="http://en.wikipedia.org/wiki/Use_case"&gt;use case&lt;/a&gt; descriptions are defined in a &lt;a href="http://en.wikipedia.org/wiki/Domain_model"&gt;domain model&lt;/a&gt; diagram, and vice-versa.&lt;/p&gt;</description></item><item><title>Test-first and Incomplete Specification</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/teste-first/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/teste-first/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;&#10;&#9;&#9;&#9;&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/xoz43v_lh0M?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;&#10;&#9;&#9;&lt;/div&gt;&#10;&#10;&lt;h3 id="test-first"&gt;Test-first&lt;/h3&gt;&#10;&lt;p&gt;When should we start testing a system? In the traditional approaches, testing begins as soon as the developers finish their modules. This has raised several problems, like the fact that testers are idle during a significant part of development. To cope with this it is usually recommended that testers review the requirements descriptions. This activity prepares them do better understand what to test and to identify possible sources of errors. Ambiguous requirements are a powerful hint about what should be tested.&lt;/p&gt;</description></item><item><title>Testing</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/testing/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/testing/</guid><description>&lt;p&gt;The execution of the software artefact under certain conditions to analyze its results is called testing. When the results of execution are checked against a specification we are doing verification, but if the results are being analysed by the client, then we are doing validation.&lt;/p&gt;</description></item><item><title>Testing, a Pervasive Activity</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/testing-a-pervasive-activity/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/testing-a-pervasive-activity/</guid><description>&lt;p&gt;Testing interplays with other stages of the software engineering process. In particular, due to test-first approaches the testing activities are pervasive. Test-first, as a specification activity, intertwines the problem definition with solution coding. Test-driven development, which adds code refactorings to the equation, intertwines coding with software design. Actually, it turns software design into a reverse engineering activity, where patterns are discovered and created from the existing code.&lt;/p&gt;&#10;&lt;p&gt;When testing a large system a divide-and-conquer approach should be followed: test the modules in isolation before testing them together, which is called unit testing. This way, when the integration tests occur, the modules are robust enough such that the assessment can focus on the interactions between units. Due to the interactions between modules it is necessary to identify those modules that do not depend on any other to test them first, and then test the modules that use them. This is the bottom-up approach to testing, where the unit test of a module includes the integration testing with the modules it uses.&lt;/p&gt;</description></item><item><title>The Testing Process</title><link>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/the-testing-process/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/verification-and-validation/the-testing-process/</guid><description>&lt;div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;"&gt;&#10;&#9;&#9;&#9;&lt;iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share; fullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/BbK8fjXQSH8?autoplay=0&amp;amp;controls=1&amp;amp;end=0&amp;amp;loop=0&amp;amp;mute=0&amp;amp;start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"&gt;&lt;/iframe&gt;&#10;&#9;&#9;&lt;/div&gt;&#10;&#10;&lt;p&gt;During all the stages of the software development process unit and integration testing of the modules can occur. The goal of these test is to verify the quality of implementation and it is the developers&amp;rsquo; responsibility. However, some kind of tests require development to have achieved a stage where the system can be exercised according to its final functionality. When this happens, it is possible to test the system from the point of view of its intended use. These tests will verify whether it will function properly once it is deployed and they are driven either by the requirements specification or the system users. In the latter case the tests&amp;rsquo; goal is to validate the system, whereas in the former case it is its verification. During this stage both the functional and non-functional properties of the system should be tested. The testing is based on the system usage scenarios, emphasizing those that are expected to be more common, which should be captured by the definition of profiles of usage. For instance, in an academic system there are at least three distinct profiles of usage: student profile, faculty profile, and administrative staff profile. The detail with each profile is tested depends on its frequency and business value. For instance, although it is possible to accept a short interruption of service for the student profile it should be avoided for the administrative staff profile during office hours. Note that exercising the final functionality of a system does not require it to be completed implemented because the use of test doubles may allow the test of not completely implemented functionalities.&lt;/p&gt;</description></item></channel></rss>