Kotlin implementation of the Auction Sniper application from Growing Object Oriented Software Guided by Tests.
Examples from Part V: Adcanced Topics
are in a separate repo.
The book was originally published in 2009. New technologies have appeared.
The replacements are listed below:
Original | Replacement | Comment |
---|---|---|
Java | Kotlin | Runs on JVM 14 |
Ant | Gradle | Build tool |
Swing | TornadoFX | GUI framework |
WindowLicker | TestFX | GUI test framework |
JUnit 4 | JUnit 5 | Unit-testing framework |
Hamcrest | AssertJ | Assertions library |
jMock | MockK | Mocking library |
Smack | XMPP Client | |
Openfire | XMPP Server | |
Local Openfire setup | Docker compose |
The book assumes that XMPP server is already installed and all users are created on the server. For the beginning I'll use a Docker container from beatrichartz.
During implementation, I was looking at GOOS implementations from
I'm not a professional Kotlin developer. If you can rewrite it in more kotlin-idiomatic style pull requests are welcome!