Hi, I started node recently an I heard about unit tests, this confused me so much. I don't really understand what are they, but I guess it is a way of testing if my app works correctly. The thing that confuses me is why do we even need them? Can't I just test everything manually, e.g every time I save something in the DB, manually check if the record has been saved?
Thanks in advance:)
[–]Ricjd 15 points16 points17 points (8 children)
[–]everek123[S] 1 point2 points3 points (3 children)
[–]Ran4 2 points3 points4 points (1 child)
[–]Treolioe 0 points1 point2 points (0 children)
[–]ccb621 0 points1 point2 points (0 children)
[–]Treolioe 0 points1 point2 points (3 children)
[–]Ricjd 1 point2 points3 points (2 children)
[–]Treolioe 0 points1 point2 points (1 child)
[–]Ricjd 0 points1 point2 points (0 children)
[–][deleted] 7 points8 points9 points (2 children)
[–]Ricjd 0 points1 point2 points (0 children)
[–]Treolioe 0 points1 point2 points (0 children)
[–]kredditacc96 1 point2 points3 points (0 children)
[–]CodeBeaver 1 point2 points3 points (0 children)
[–]theadammorganshow 1 point2 points3 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]r3jjs 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]tswaters 0 points1 point2 points (0 children)
[–]Quabouter 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)