dotnet-starter-kit icon indicating copy to clipboard operation
dotnet-starter-kit copied to clipboard

Create Unit Test Projects

Open iammukeshm opened this issue 3 years ago • 14 comments

iammukeshm avatar Sep 14 '21 17:09 iammukeshm

Descoping to Release 2.0

iammukeshm avatar Oct 28 '21 04:10 iammukeshm

Hello @iammukeshm. Has anyone started working on this? I want to start working on the unit tests and integration test.

egbakou avatar Nov 29 '21 21:11 egbakou

@egbakou can you take up this task maybe? Would be great if I can get some help for this. Do let me know

iammukeshm avatar Nov 30 '21 01:11 iammukeshm

I will start working on it tomorrow :)

egbakou avatar Nov 30 '21 12:11 egbakou

how are we getting on with the unit testing? I'd be happy to help too if needed?

carllaw6885 avatar Dec 02 '21 16:12 carllaw6885

Hi @carllaw6885 can you check my forked repo ? I started working on the integration tests. You can do the unit tests if you want.

egbakou avatar Dec 02 '21 16:12 egbakou

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.

carllaw6885 avatar Dec 02 '21 20:12 carllaw6885

You can start working on the unit test for the Application project tests/Application.UnitTests

egbakou avatar Dec 02 '21 20:12 egbakou

Hi Guys, any update on this? @egbakou @carllaw6885

iammukeshm avatar Dec 05 '21 12:12 iammukeshm

Hi @iammukeshm, I am working on it. You will see a PR from me this week :)

egbakou avatar Dec 05 '21 14:12 egbakou

https://github.com/fullstackhero/dotnet-webapi-boilerplate/tree/main/tests/Infrastructure.Test

Just FYI.

iammukeshm avatar Dec 07 '21 06:12 iammukeshm

https://github.com/Dotnet-Boxed/Templates/tree/main/Tests/Boxed.Templates.FunctionalTest

xlogex avatar Jan 09 '22 15:01 xlogex

@egbakou @carllaw6885 @iammukeshm xD Don't forget this topic.

frankyjquintero avatar Jan 24 '22 18:01 frankyjquintero

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

gkhedekar5758 avatar Jun 20 '22 04:06 gkhedekar5758

is there any progress on this?

gokmensercan avatar Jan 01 '23 18:01 gokmensercan

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.

image image

Thanks in advanced!

If anyone in this thread can complete any integration tests, please let me know.

maxiar avatar Sep 15 '23 18:09 maxiar

Hi @maxiar @iammukeshm

If you were able to wrote a unit test, can you please provide a link here or code ? Thanks in advance.

pm1-essentialdesigns avatar Mar 19 '24 12:03 pm1-essentialdesigns