Getting the Project Files
We’ll write code in the unittests/airportapp directory—our project location for this example. Since setting up the build files often takes effort, we can save significant time by using a pre-created project structure. Download the source code zip file from the book’s website,[30] unzip the file, and cd to the unittests/airportapp directory. Take a few minutes to study the project structure.
You’ll find the following empty directories: src/main/kotlin/com/agiledeveloper/airportstatus and src/test/kotlin/com/agiledeveloper/airportstatus. These are the default directory structures, for source files and test files, used by both Gradle and Maven build tools. So we can use this structure irrespective of which build tool ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access