Timeline for Struct that parses full name into first name, middle name, last name and suffix
Current License: CC BY-SA 4.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 14, 2022 at 20:50 | comment | added | nop | i.imgur.com/0WZVihK.png pastebin.com/iMU09WmK it says equality and not equality were untested, as well as GetHashCode. | |
Oct 14, 2022 at 18:06 | comment | added | Peter Csala | @nop Also I still some test cases. Run a code coverage gathering tool to see which lines are not covered unit tests. | |
Oct 14, 2022 at 18:03 | comment | added | Peter Csala | @nop They seem fine, except those where you compare two full names. Do not assert on the result of == operator. Use the proper equality assertion for that. | |
Oct 13, 2022 at 15:36 | comment | added | nop | pastebin.com/2tfBB2nG - here is the updated FullName struct and its tests. I kept the current convention as that's what Nick Chapsas used in his latest workshop github.com/Hulkstance/testing-workshop-ndcsydney-2022. And thanks again, you showed me how to do tests properly. :) Hopefully they are okay. | |
Oct 13, 2022 at 15:14 | comment | added | nop | Thank you very much! :) I always wondered when I have to put these scenarios into different tests and that just found a bug for me! Will reply back with the corrected tests :) | |
Oct 13, 2022 at 10:26 | history | answered | Peter Csala | CC BY-SA 4.0 |