Skip to content

Instruction for Importing into IntelliJ #511

@dougnoel

Description

@dougnoel
  1. Install IntelliJ Community Version.
  2. Open Project -> Point to the folder the project is in.
  3. When prompted in the lower right, install the Cucumber plugin.
  4. Restart your IDE.
  5. You may do shared indexes if you like. Note that it is a paid feature after 30 days.
  6. Go to the Build menu select Build Project
  7. When prompted in the lower right select an SDK.
  8. In the SDK dropdown, select a version of Java supported by Sentinel (see the version information at the top of the Sentinel Readme.)
  9. Click Apply
  10. Click Ok
  11. Build-> Build Project
  12. In the bottom left there's a Build icon with Build. Clicking it shows you what happened in the build.
  13. In the Project sidebar on the left, Open sentinel/src/test/java/tests.
  14. Right-click on SentinelTests and select Run from the drop-down. All tests should execute and pass.

Editing Configs

  1. Run -> Run configurations
  2. In the Build and run section, there is a textbox with -ea in it. Add commandline arguments in that box AFTER the '-ea '

Running with code coverage

  1. Build -> Build Configurations
  2. Remove tests from the add section
  3. Remove "tests" from the files to add section.
  4. Select Run with Code coverage (makes sure you run all tests)

Bring Up Maven Window
View -> Tool Windows -> Maven

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions