PvEbot
PvEbot
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
thanks for help, after finding some tutorial on integration tests I think I more or less understand them now
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
im not really familiar with intergration tests and contenerization yet, but if I wanted to check for autheorized user some api endpoint like check all his favorite recipes, should I set up user authentication, pass user to endpoint, do db call, check result without mocking anything?
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
also in this context wouldnt .net libraries count as external stuff?
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
I feel like I got a better idea of tests now, so when it comes to testing api endpoints it would be better to do integration test for 99% of them?
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
if so then whats the points of unit testing if I should be using intertation tests over unit tests
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
does it also apply for everthing that is using database?
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
so if testing stuff like login / register its better to do intergartion test over unit test?
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
No description
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
mysql
25 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
I have no idea, im kinda new to unit testing and form waht I understood I need to check if input data matches output data, and any stuff that isnt mine is better to mock such as createasync or db calls or stuff like that
25 replies
CC#
Created by vibing subs on 4/7/2024 in #help
I need help with my password generator and checking project. It uses c-sharp forums
20 replies
CC#
Created by PvEbot on 4/7/2024 in #help
Test createAsync not working as expected
not sure why but I needed to pass to CreateAsync(A<AppUser>.,A<string>.) instead of CreateAsync(AppUser, registerDto.password)
25 replies