Skip to content

Commit

Permalink
updating Readme with automatically chosen and queryable port - fixes #33
Browse files Browse the repository at this point in the history
  • Loading branch information
lantunes committed May 1, 2015
1 parent 75a35c5 commit 3276d24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public void beforeEachTest() throws Exception {
server.start();
}
```
You can also use the **ServerFixture** no-arg constructor, and bind to an automatically chosen port. You
can then get the actual port number by calling **ServerFixture.getPort()**.

Then, we can write some tests. Here's a test demonstrating a simple GET:

Expand Down

0 comments on commit 3276d24

Please sign in to comment.