mirror of https://github.com/01-edu/public.git
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
102 lines
3.2 KiB
5 years ago
|
#### Functional
|
||
|
|
||
5 years ago
|
##### Try running `"./TCPChat"`.
|
||
5 years ago
|
|
||
5 years ago
|
###### Is the server listening for connections on the default port?
|
||
5 years ago
|
|
||
5 years ago
|
##### Try running `"./TCPChat" 2525 localhost`.
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
[USAGE]: ./TCPChat $port
|
||
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Did server respond with usage, as above?
|
||
5 years ago
|
|
||
|
##### Try running `"./TCPChat 2525"`.
|
||
5 years ago
|
|
||
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>"`.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does both clients connect to the server with success?
|
||
|
|
||
5 years ago
|
##### Try creating a server and 2 Clients.
|
||
5 years ago
|
|
||
5 years ago
|
###### Did the server responded with a linux logo and asked for the name?
|
||
5 years ago
|
|
||
|
##### Try creating a server and 2 Clients.
|
||
5 years ago
|
|
||
5 years ago
|
###### Do all Clients receive a message informing that the Client joined the chat?
|
||
|
|
||
|
##### Try creating a server and 2 Clients and send a message using the first Client.
|
||
5 years ago
|
|
||
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.
|
||
5 years ago
|
|
||
5 years ago
|
###### 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.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does 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 for each computer one Client.
|
||
5 years ago
|
|
||
5 years ago
|
###### Did the server/Clients connected with success?
|
||
|
|
||
|
##### Try creating a server and 4 Clients and disconnect one of the Clients.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does the rest of the Clients stay connected?
|
||
|
|
||
|
##### Try creating a server and 3 Clients and disconnect one of the Clients.
|
||
5 years ago
|
|
||
5 years ago
|
###### Does the rest of the Clients receive a message notifying that the Client left?
|
||
|
|
||
|
##### Try creating a server and 3 Clients. Then send messages between the Clients.
|
||
5 years ago
|
|
||
5 years ago
|
```
|
||
|
[2020-01-20 15:48:41][client.name]:[client.message]
|
||
|
```
|
||
5 years ago
|
|
||
5 years ago
|
###### Are the messages identified by the name of each Client and the time that the messages was sent, as above?
|
||
5 years ago
|
|
||
|
###### Is the connections between server and Clients well established?
|
||
|
|
||
5 years ago
|
###### Does the project present go routines?
|
||
|
|
||
|
###### Does the project use channels or mutexe?
|
||
|
|
||
|
##### Are the students using just the allowed functions?
|
||
|
|
||
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
|
|
||
5 years ago
|
###### +Is the chat group informed if a Client changes his name?
|
||
5 years ago
|
|
||
5 years ago
|
###### +Does the server produce logs about Clients activities?
|
||
5 years ago
|
|
||
5 years ago
|
###### +Does the server logs saved into a file?
|
||
5 years ago
|
|
||
5 years ago
|
###### +Is there more NetCat flags implemented?
|
||
5 years ago
|
|
||
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)
|
||
5 years ago
|
|
||
5 years ago
|
###### +Does the code obey the [good practices](https://public.01-edu.org/subjects/good-practices.en)?
|
||
5 years ago
|
|
||
5 years ago
|
###### +Is there a test file for this code?
|
||
|
|
||
|
#### Social
|
||
|
|
||
|
###### +Did you learn anything from this project?
|
||
5 years ago
|
|
||
5 years ago
|
###### +Can it be open-sourced / be used for other sources?
|
||
5 years ago
|
|
||
5 years ago
|
###### +Would you recommend/nominate this program as an example for the rest of the school?
|