Explain Linking Defect to test in Quality Control.

We can link a test in our test plan to a specific defect in the Defect Grid. This is useful, for example, when a new test is created specifically for a known defect. By creating a linking, we can determine if the test should be run based on the status of the defect. We can also link the defect to other entities, such as requirements. A defect can be linked directly or indirectly to an entity. When we add a defect link to an entity, QC adds a direct link to this entity and indirect link to other related entities. When we link a defect to run step, it adds an indirect link to its run, test instance, test set and test. If the same test is covered by a requirement, an indirect link is also added to the requirement, but indirect linkage is one directional flow.