Skip to content

Commit f169808

Browse files
committed
Merge pull request ESAPI#367 from drmyersii/feature/adding-intellij-setup-documentation
Adding IntelliJ Tests setup documentation
2 parents 0003917 + ca38817 commit f169808

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@
55
*.swp
66
*~
77
*.iml
8+
9+
# IntelliJ
10+
11+
/.idea
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# How to Build and Develop ESAPI with IntelliJ
2+
3+
IntelliJ is set up to run pretty seamlessly out of the box, but there are still a few configuration options we need to change in order to get Unit Tests to run properly.
4+
5+
1. Click `Run` > `Edit Configurations...`
6+
2. Click `+` > `JUnit` to add a new Run Configuration for JUnit
7+
3. Set the `Name:` field to `JUnit Config`
8+
4. Set the `Test kind:` field to `All in package`
9+
5. Set the `Search for tests:` field to `In whole project`
10+
6. Set the `Working directory:` field to **your** project root directory (e.g. ~/workspace/esapi-java-legacy)
11+
12+
In order to Run ESAPI with Tests, you just need to select `Run` > `Run 'JUnit Config' with Coverage`
13+
14+
That's it!

0 commit comments

Comments
 (0)