dotnet-starter-kit
dotnet-starter-kit copied to clipboard
Create Unit Test Projects
Descoping to Release 2.0
Hello @iammukeshm. Has anyone started working on this? I want to start working on the unit tests and integration test.
@egbakou can you take up this task maybe? Would be great if I can get some help for this. Do let me know
I will start working on it tomorrow :)
how are we getting on with the unit testing? I'd be happy to help too if needed?
Hi @carllaw6885 can you check my forked repo ? I started working on the integration tests. You can do the unit tests if you want.
I can see you Hosts integration project.
Is that the solution structure you want me to maintain?
test/Host.UnitTests test/Domain.UnitTest and so on...
Or do you want test/UnitTests/Host.UnitTests
Not sure there is any real advantage to changing from what you've got but wanted to check.
You can start working on the unit test for the Application project
tests/Application.UnitTests
Hi Guys, any update on this? @egbakou @carllaw6885
Hi @iammukeshm, I am working on it. You will see a PR from me this week :)
https://github.com/fullstackhero/dotnet-webapi-boilerplate/tree/main/tests/Infrastructure.Test
Just FYI.
https://github.com/Dotnet-Boxed/Templates/tree/main/Tests/Boxed.Templates.FunctionalTest
@egbakou @carllaw6885 @iammukeshm xD Don't forget this topic.
Hello @egbakou @carllaw6885 I am new to github and open source world I would like to help in this issue so that i can put my steps in the open source world. Let me know if we can discuss the remainig work, i see you have started in 2021
is there any progress on this?
Hi @iammukeshm, I am working on it. You will see a PR from me this week :)
Hi! @egbakou, I'm interesting to do integration test for this template...I see your fork (test/integration-tests) and compiled successfully but when executed a ProductControllerTest, the GetProducts Api answer "unauthorized response", like the SetFakeBearerToken is not working...
I known that is a history code, but may be you can help me to continue with your working or give a tip to solve this issue.
Thanks in advanced!
If anyone in this thread can complete any integration tests, please let me know.
Hi @maxiar @iammukeshm
If you were able to wrote a unit test, can you please provide a link here or code ? Thanks in advance.