❔ Tests best practice
Hello I'm interested in learning more about testing in general like unit tests and other kind of tests
I try looking at guides online, but they all show really bad examples that are not just not real.
I would like to unit test my ASPNet Api's database logic that seems to need mocks, but should controller be tested? Like if we have
Does the testing of API fall under different kind of tests like E2E testing for frontend
I try looking at guides online, but they all show really bad examples that are not just not real.
I would like to unit test my ASPNet Api's database logic that seems to need mocks, but should controller be tested? Like if we have
ProductController with method CreateProduct(Request) do we test this or just logic inside it? Like services/ReposDoes the testing of API fall under different kind of tests like E2E testing for frontend