swsnu / swppfall2021

Learning Software Engineering By Building Web Services
28 stars 19 forks source link

[hw4] question about test cases and handling errors #128

Open mieseung opened 3 years ago

mieseung commented 3 years ago

Hello, I have some questions about HW4.

  1. Is there any test cases that are not mentioned in Readme? Should we consider all possible test cases such as the case that user try to sign up with already registered username and so on?

  2. Is it okay add more information in json response than specification requires? For example, add id in response of GET /api/articles/ article list?

Thanks in advance :)

ttoru96 commented 3 years ago
  1. I'm afraid that I cannot tell you much about testcases. One thing for sure is that you'll be fine as long as your implementation covers everything on Readme.

  2. Yes, it is okay to add other information. Just make sure that you return items required at specification.

mieseung commented 3 years ago

Thanks a lot!