mirror of
https://github.com/IRS-Public/direct-file.git
synced 2025-06-27 20:25:52 +00:00
Fix broken link on adr-fact-modules.md
This commit is contained in:
parent
e0d5c84451
commit
59796325f6
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ These are a few examples of where bugs in some sections have manifested in stran
|
|||
|
||||
### Testing for completeness
|
||||
|
||||
We have [completeness tests](../direct-file/df-client/df-client-app/src/test/functionalFlowTests/checkFlowSetsFacts.ts) that can test that a section of the flow will leave certain facts as complete. However, it's unclear which facts we should test for completeness at which points because there are no well defined boundaries between sections. For instance, in example (1) above a test that `/filersCouldntBeDependents` was complete by the end of the spouse section would have prevented the bug, but nobody knew to write that test.
|
||||
We have [completeness tests](../../direct-file/df-client/df-client-app/src/test/completenessTests/checkFlowSetsFacts.ts) that can test that a section of the flow will leave certain facts as complete. However, it's unclear which facts we should test for completeness at which points because there are no well defined boundaries between sections. For instance, in example (1) above a test that `/filersCouldntBeDependents` was complete by the end of the spouse section would have prevented the bug, but nobody knew to write that test.
|
||||
|
||||
Beyond that, even if we get this right at some point, there's no guarantee it will remain correct, or that developers writing downstream tests will always respect a `/maybeCompleteFact` that gets a default value in derived fact `/alwaysCompleteFact`, there's no guarantee that a downstream fact will correctly use `/alwaysCompleteFact` instead of accidentally using the maybe complete version.
|
||||
|
||||
|
@ -123,4 +123,4 @@ But most of the above will be a lot easier if we understand the boundaries we ca
|
|||
1. (12/4/23) Modified the term "namespace" to "module"
|
||||
2. (12/4/23) Specified file name as module names
|
||||
3. (12/4/23) Defaulted facts private to their module
|
||||
4. (12/4/23) Specified how modules will be imported by Dependency blocks
|
||||
4. (12/4/23) Specified how modules will be imported by Dependency blocks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue