You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the scan tool doesn't implement any public API for testing. We need a way to test domain-specific static code rules when they are added to the Ballerina library via a compiler plugin.
Compiler plugins perform the scan tool related analysis only when the ScanContext is added to the CompilerContext, which isn't really straightforward to do, so implementing a TestScanContext and TestReported isn't an option either.
Atm, we'll have to do a bal scan to get the analysis to run.
Problem
Currently, the scan tool doesn't implement any public API for testing. We need a way to test domain-specific static code rules when they are added to the Ballerina library via a compiler plugin.
Related issue: ballerina-platform/ballerina-library#7293
Proposed Solution
Introduce a public API. Research is needed for the design and implementation.
Alternatives
No response
Version
No response
The text was updated successfully, but these errors were encountered: