Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328182 - b3 junit test runner does not detect all types of errors
Summary: b3 junit test runner does not detect all types of errors
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: b3 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-19 17:31 EDT by Henrik Lindberg CLA
Modified: 2017-09-13 11:52 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 Henrik Lindberg CLA 2010-10-19 17:31:17 EDT
The b3 junit test runner does not get all types of validation/syntax errors!
Comment 1 Henrik Lindberg CLA 2010-10-19 19:26:36 EDT
Note that there are tests that rely on exceptions being generated because there are syntax validations.
These tests are really runtime evaluation tests, and if we want to continue testing using b3 source as input, there needs to be a parameter to the test runner to ignore syntax errors.

testVarValScope.b3 tests that the runtime protects final and immutable values.
Since some time back this is also statically checked by the validator to flag these problems in the editor.