Checksum Test - rsanchez-wsu/jfiles GitHub Wiki

The Files program shall be able to check if the contents from a transferred files are the same on both the client and server. The following tests should be run by the programmer PRIOR to pushing the branch to Github or merging with another branch.

  • Transfer a file from client to server

    • Expected Outcome: The checksum number is the same from the file on the client and server.
  • Transfer a file from server to client

    • Expected Outcome: The checksum number is the same from the file on the client and server.
  • Transfer a corrupted file from client to server

    • Expected Outcome: The checksum number is different from the file on the client and server.
  • Transfer a corrupted file from server to client

    • Expected Outcome: The checksum number is different from the file on the client and server.

When modifying the code, the program must be able to pass ALL of these tests before pushing to Github. If it does not, PLEASE specify this in the commit and explain the situation.