inspectit-ocelot
inspectit-ocelot copied to clipboard
[Feature] - Automated testing for Syntax Highlighter
Is your feature request related to a problem? Please describe. Right now the syntax highlighting is only tested by looking at known configuration files or creating test files in the UI for specific cases, this is a bit cumbersome and prone to missing errors.
Describe the solution you'd like The InspectitOcelotHighlightRules are tested automatically and if any parts of a sample yml-File are tokenized incorrectly, you get notified.
Official tests in ace editor project could probably be used as guidance, https://github.com/ajaxorg/ace/tree/master/lib/ace/mode/_test.
We would need a sample file that covers all possible situations.