Skip to content

Commit bf9e094

Browse files
committedDec 6, 2015
(DOC): update tests section in CONTRIBUTING
1 parent f3d9878 commit bf9e094

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed
 

‎CONTRIBUTING.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ To launch the plugin from console just type `./gradlew runIdea`.
1919

2020
## Development
2121

22-
For development you could use any editor/IDE of your choice. There is no peculiar dependency on IDEA, though we're particularly sticked to it, therefore providing instructions how to nail it from that side.
22+
For development you could use any editor/IDE of your choice. There is no peculiar dependency on IDEA, though we're particularly stuck to it, therefore providing instructions how to nail it from that side.
2323

2424
If you're using any other particular stack feel free to contribute to that list.
2525

@@ -56,7 +56,7 @@ Please, make sure that all tests pass and Travis reports build as green prior to
5656

5757
Please, consider our [code-style](STYLE.md) prior to submitting the pull request. We love PRs, but much more than just PRs we love PRs that are 'on style'.
5858

59-
For the Java sources we're sticked to the Google's [one](https://google.github.io/styleguide/javaguide.html).
59+
For the Java sources we're stuck to the Google's [one](https://google.github.io/styleguide/javaguide.html).
6060

6161

6262
# Plugin overview
@@ -80,11 +80,15 @@ It's also very inspirational to browse existing plugins. Check out
8080
# Testing
8181

8282
It is much easier to understand code changes if they are accompanied with
83-
tests. Test classes are placed in the `test` directory, `testData` holds rust files,
83+
tests. Test classes are placed in the `src/test/kotlin` directory, `src/test/resources` holds rust files
8484
which are used as fixtures. We also include
8585
[CTRS](https://github.com/brson/ctrs) as a submodule and use it to test the
8686
parser.
8787

8888
The test suite can be run by launching:
8989

9090
./gradlew test
91+
92+
To execute tests from within IDE edit *default* run configuration for JUnit. In the `befor launch` section remove
93+
`make` and add gradle task `assemble testClasses`. Now you can select any test function, class or folder and use
94+
`Ctlr + Shift + f10` to launch specific tests.

0 commit comments

Comments
 (0)
Please sign in to comment.