To compile and generate needed classes:
make all
To run server:
make runs
To run client:
make runc
To run test cases on client:
make test
I've included some test cases for client, in order to run testValidCommandLineArgs() and testInvalidCommandLineArgs(), testNumberOfCommandLineArgs() needs to be commented out. In order to run testNumberOfCommandLineArgs(), testValidCommandLineArgs() and testInvalidCommandLineArgs(), need to be commented out. I think the problem has to do with Client.java being a static class. Also JUnit version 4.8.2 was used for testing.