ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

[TASK] Find an approach to write test cases for static code analysers in library modules #7293

Open MohamedSabthar opened 1 month ago

MohamedSabthar commented 1 month ago

Description

Currently, we don't have a straightforward API to test the static code analyzer logic written within the library modules. As an initial approach, we could experiment with writing a test case by programmatically engaging the bal scan tool and asserting the output.

Version

No response