Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Unit Test Projects #57

Closed
iammukeshm opened this issue Sep 14, 2021 · 17 comments
Closed

Create Unit Test Projects #57

iammukeshm opened this issue Sep 14, 2021 · 17 comments
Assignees
Labels
enhancement New feature or request high priority High Priority Task

Comments

@iammukeshm
Copy link
Member

No description provided.

@iammukeshm iammukeshm added enhancement New feature or request high priority High Priority Task labels Sep 14, 2021
@iammukeshm iammukeshm added this to the Release 1.0 milestone Sep 14, 2021
@iammukeshm iammukeshm self-assigned this Sep 14, 2021
@iammukeshm iammukeshm modified the milestones: Release 1.0, Release 2.0 Oct 28, 2021
@iammukeshm
Copy link
Member Author

Descoping to Release 2.0

@egbakou
Copy link

egbakou commented Nov 29, 2021

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

@iammukeshm
Copy link
Member Author

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

@egbakou
Copy link

egbakou commented Nov 30, 2021

I will start working on it tomorrow :)

@carllaw6885
Copy link

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

@egbakou
Copy link

egbakou commented Dec 2, 2021

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

@carllaw6885
Copy link

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.

@egbakou
Copy link

egbakou commented Dec 2, 2021

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

@iammukeshm
Copy link
Member Author

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

@egbakou
Copy link

egbakou commented Dec 5, 2021

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

@iammukeshm
Copy link
Member Author

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

Just FYI.

@xlogex
Copy link
Contributor

xlogex commented Jan 9, 2022

@frankyjquintero
Copy link
Contributor

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

@gkhedekar5758
Copy link

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

@gokmensercan
Copy link

is there any progress on this?

@iammukeshm iammukeshm removed this from the Release 2.0 milestone Apr 4, 2023
@maxiar
Copy link
Contributor

maxiar commented Sep 15, 2023

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.

@pm1-essentialdesigns
Copy link

Hi @maxiar @iammukeshm

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority High Priority Task
Projects
None yet
Development

No branches or pull requests

10 participants