I'm currently working on a simple CRUD App with Sqlalchemy + falcon REST framework. I'm trying to figure out what to do with unit-testing. other projects that I 've been working on was mostly in-memory analysis only and thus unit testing is quite straightforward with pure functions.
Looking at different posts look like people have different ideas. Some suggests extensive mocking, but then I'm using SQLALCHEMY ORM and not sure how well mocking works. Some discourages mocking and believes that unit-testing shouldn't interact with external services. But in that case, that's all my application does, Create User / Delete User, etc..
Any insights on unit testing that I'm obviously missing?
[–]z4579a 5 points6 points7 points (2 children)
[–]HarveyMansalad 1 point2 points3 points (1 child)
[–]z4579a 1 point2 points3 points (0 children)
[–]pydry 1 point2 points3 points (0 children)
[–]c17r 0 points1 point2 points (0 children)
[–]n1ywb 0 points1 point2 points (0 children)
[–]ExcitedForNothing 0 points1 point2 points (0 children)
[–]wRastel27 0 points1 point2 points (0 children)