mellowzippy
mellowzippy
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
I will try to use this, thanks a lot
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Okayyy
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
just CRUD mostly
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Don't know what would be complex logic. I feel like my API is pretty simple
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Is there anything I should unit test in my API?
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Or perhaps use them to test something differently?
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
then*
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
@Sossenbinder Do you think I should drop the unit tests than?
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Thank you
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Would you happen to have any links that show how to do proper integration testing?
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Ooo okay
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
Because (for now) it is only an API. Not connected to any other program so it's not "integrated" with anything right?
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
What are integration tests used for?
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
If one looks at this code and thinks that it is quite the mess, I would appreciate perhaps good videos or websites on how to do this correctly.
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
I was able to test it if I made my service (and the test) synchronous, the error only came when I tried to make it async.
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
$paste
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
I tried adding the "TestDbAsyncQueryProvider" code they provided but it changed absolutely nothing in the error so it didn't help me to fix it.
33 replies
CC#
Created by mellowzippy on 10/1/2024 in #help
Unit Testing ASP.NET async api service
And because this is me writing my first test I have absolutely no clue what this means. And I don't really know where to start to debug it.
33 replies