Codebase Layout
The codebase of the plugin is structured the following way:
docs/: contains the documentation you’re reading right nowjava/: contains the Java-based jQA-Pluginsrc/main/: implementation of the jQA-Plugino.j.p.t.api:TypeScriptScopeand allDescriptorinterfaceso.j.p.t.implfilesystem: custom Implementation of the file resolvermapper: MapStruct-based mappers and resolvers for POJO-to-Descriptor Mappings (contains main logic of the plugin)model: POJOs that model the JSON output of the LCE tool
src/test/: integration tests for the jQA-Plugin- use the
regenerate-test-data.shundersrc/test/resourcesto generate test reports with the current TypeScript LCE implementation
- use the
typescript/: contains the implementation and tests for the TypeScript LCE toolsrc/: implementation of the LCE toolcore/: code for the LCE framework and all core language featuresconcepts/: concept implementationspost-processors/: post-processor implementationsprocessors/: processor implementationstraversers/: traverser implementationsutils/: various utility functions, etc.- the
.tsfiles directly contained in this directory model the LCE framework
react/: code for the React Extension- … directories for future extensions
main.ts: contains entry point of the tool that parses the CLI arguments and initializes the extensions
test/: tests for the LCE tool