Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328182

Summary: b3 junit test runner does not detect all types of errors
Product: z_Archived Reporter: Henrik Lindberg <henrik.lindberg>
Component: b3Assignee: Project Inbox <b3.engine-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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.