You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
3.2 KiB

5 years ago
#### Functional
5 years ago
##### Try running `"./TCPChat"`.
5 years ago
###### Is the server listening for connections on the default port?
5 years ago
5 years ago
##### Try running `"./TCPChat" 2525 localhost`.
```
[USAGE]: ./TCPChat $port
```
###### Did the server respond with usage, as above?
5 years ago
##### Try running `"./TCPChat 2525"`.
5 years ago
###### Is the server listening for connections on the port 2525?
##### Try opening 3 terminals, run on the first terminal the command `"./TCPChat <port>"` and on the second and third terminal run the command `"nc <host ip> <port>"`.
###### Do both clients connect to the server with success?
5 years ago
5 years ago
##### Try creating a server and 2 Clients.
###### Did the server respond with a linux logo and ask for the name?
5 years ago
##### Try creating a server and 2 Clients.
###### Do all Clients receive a message informing them that the Client joined the chat?
5 years ago
##### Try creating a server and 2 Clients and send a message using the first Client.
5 years ago
###### Does the second Client receive the message?
##### Try creating a server and 1 Client and send some messages using this Client. Then create a new Client.
###### Can the new Client see all the previous messages?
5 years ago
##### Try creating a server and 3 Clients and send a message using the second Client.
###### Did all the Clients (first, second and third) received the same message?
5 years ago
##### Try creating a server and use 2 or 3 different computers and create one Client for each computer.
###### Did the server/Clients connect with success?
5 years ago
##### Try creating a server and 4 Clients and disconnect one of the Clients.
###### Do the rest of the Clients stay connected?
5 years ago
##### Try creating a server and 3 Clients and disconnect one of the Clients.
###### Do the rest of the Clients receive a message notifying that the Client left?
5 years ago
##### Try creating a server and 3 Clients. Then send messages between the Clients.
5 years ago
```
[2020-01-20 15:48:41][client.name]:[client.message]
```
###### Are the messages identified by the name of each Client and the time that the messages were sent, as above?
5 years ago
###### Are the connections between server and Clients well established?
5 years ago
5 years ago
###### Does the project present go routines?
###### Does the project use channels or mutexes?
5 years ago
##### Are the students using only the allowed packages?
5 years ago
###### As an auditor, is this project up to every standard? If not, why are you failing the project?(Empty Work, Incomplete Work, Invalid compilation, Cheating, Crashing, Leaks)
5 years ago
#### General
###### +Can the Clients change their names?
5 years ago
###### +Is the chat group informed if a Client changes his name?
5 years ago
###### +Does the server produce logs about Clients activities?
###### +Are the server logs saved into a file?
5 years ago
###### +Is there more NetCat flags implemented?
5 years ago
###### +Does the project present a Terminal UI using JUST this package : https://github.com/jroimartin/gocui?
5 years ago
#### Basic
###### +Does the project runs quickly and effectively? (Favoring recursive, no unnecessary data requests, etc...)
###### +Does the code obey the [good practices](../../good-practices/README.md)?
5 years ago
###### +Is there a test file for this code?
#### Social
###### +Did you learn anything from this project?
5 years ago
###### +Can it be open-sourced / be used for other sources?
5 years ago
###### +Would you recommend/nominate this program as an example for the rest of the school?