Bug 526101 - create regression test that verifies the structural correctness of compilation after change
Summary: create regression test that verifies the structural correctness of compilatio...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: titan.core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-16 13:55 EDT by Kristof Szabados CLA
Modified: 2021-04-23 10:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristof Szabados CLA 2017-10-16 13:55:09 EDT
The current regression tests of Titan aim to test one thing, and one thing only.
For example all operations with bitstrings, integers, BER coding of all types and their values, etc...

There is however no test to see if the compilation is done structurally correctly.
For example
- lets have: module A imports module B, which imports module C
- we have a successful compilation of A,B,C together.
- now lets change B (for example delete all definitions, or change on constant used in module A)
- now if we try to compile this project again, the result should adapt to the change (in modules that depend on it).
If the constant in module B was changed ... the value in module A should be updated.
If definitions from module B were removed ... there should be errors in module A where they are referenced.
/*these are just to illustrate the idea of the test, not necessarily the tests to be written */
Comment 1 Denis Roy CLA 2021-04-23 10:42:59 EDT
This bug was migrated to GitLab: https://gitlab.eclipse.org/eclipse/titan/titan.core/-/issues