Skip to content

sskorol/test-data-supplier-plugin

Repository files navigation

Test Data Supplier

IntelliJ IDEA Plugin

IntelliJ IDEA integration for Test Data Supplier library.

Currently, plugin provides very simple inspections support to determine methods annotated with DataSupplier (DS) annotation, so that you could easily track missing DS errors and avoid unused methods' warnings.

Available features:

  • Missing DS will be marked red for Test and Factory annotations.
  • Clicking dataProvider arg value will trigger navigation to corresponding DS and vice versa.
  • Clicking test name within include tag of TestNG xml or test class will trigger cross navigation as well.

Note that to avoid clashes with integrated TestNG plugin you have to disable native DataProvider inspections:

ds-settings

After plugin installation you'll be able to see the following inspections and navigation options:

ds-nav