Git Product home page Git Product logo

idea-concordion-support's Introduction

IdeaConcordionSupport Build Status

This plugin provides support for concordion framework.

It can be installed from Intellij IDEA plugins repository

Settings > Plugins > Browse repositories... > search for Concordion support

demo_html

demo_md

It is built by gradle so it does not require to have intellij idea plugin sdk set up to start development.

Requirements

  • idea 14.1+ with JUnit plugin running on jdk 8 (project may use any jdk)

Supported features

  • Autocompletion
    • concordion commands in HTML and MD specs
    • test fixture members in concordion expressions
    • spec variables
  • Navigation between spec and test fixture
    • with Navigate between concordion spec and fixture (Ctrl + Shift + s)
    • clicking concordion icon in test fixture and spec
    • using go to declaration (Ctrl + left click on concordion expression)
  • Find usages (Ctrl + F7) list will include usages of methods and properties in concordion spec (for HTML specs only)
  • Renaming support (for HTML specs only)
    • it is possible to rename method/field from its usage in spec
    • after renaming method/field corresponding usage in spec will be renamed as well
    • concordion variable will be renamed in spec along with all its usages
  • Run configuration (Ctrl + Shift + F10) from HTML or MD spec. JUnit for corresponding test fixture will be created and started
  • Inspections
    • error out using concordion without proper runner in @RunWith annotation
    • error out using too complex expressions without @FullOGNL annotation
    • warn using maps in specs
    • warn using of undeclared concordion spec variable
    • warn using commands in CamelCase if spinal-case configured (and vice versa, quick fix available)
  • Intentions/Quick fixes (Alt + Enter)
    • use method/field in concordion spec and then create its declaration (field type/return type/arguments types will be inferred from context) (Alt + Enter over usage)
    • surround word/selection with concordion expression (Alt + Enter any place in spec)
    • fix misused concordion command case (CamelCase <-> spinal-case) (Alt + Enter over warned command)
  • Manipulating spec and fixture pairs
    • creation of specs or fixtures from templates via new menu
    • creation of spec and fixture pair via new menu
    • rename spec and fixture at the same time

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.