jasmine/IdeaJasmine

Name: IdeaJasmine

Owner: Jasmine

Description: null

Created: 2018-02-10 02:01:21.0

Updated: 2018-05-22 15:04:40.0

Pushed: 2018-02-16 20:05:27.0

Homepage: null

Size: 19

Language: Kotlin

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Jasmine IntelliJ Plugin

This adds a new run configuration to IntelliJ (and IntelliJ based IDEs) that runs Jasmine and displays the results in the test console.

Usage
  1. Head over to the release page and download the IdeaJasmine-<version>.zip for the latest release.
  2. In your IDE preferences, go to the “Plugins” node
  3. Click the “Install plugin from disk” button and select the zip file you downloaded
  4. Restart your IDE
  5. In the “Run” menu, click on “Edit Configurations”, there should be a new “Jasmine” default configuration
  6. Click the “+” to add a new configuration and select “Jasmine” as the template
  7. Fill in your NodeJS interpreter and select the correct Jasmine package and set any other options you want
  8. Run your tests!
Development

Follow the JetBrains instructions for setting up a development environment.

This plugin depends on the JavaScriptLanguage support from IntelliJ. You'll need to add the JavaScriptLanguage.jar to the classpath of your IDEA SDK. You should be able to find it in plugins/JavaScriptLanguage/lib inside your IntelliJ install directory.

The code for the plugin is written in Kotlin

Testing

You'll need to build the project with IntelliJ and then run the package.sh script to create IdeaJasmine.zip. You can then use the “Install plugin from disk” feature in the IntelliJ IDE of your choice.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.