Skip to content

Commit ca38817

Browse files
committed
Adding instructions for building/developing/testing with IntelliJ. This closes ESAPI#366.
1 parent 514f2bd commit ca38817

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
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)