Welcome Guest, Not a member yet? Register   Sign In
Testing controller method
#1
Lightbulb 

Hi guys,

I am making some unit tests on my app, and i couldn't find how to test methods of the controllers.

I added some methods in the BaseController and i want to check the returned value of some of my methods.

I don't really need to call any specific uri.

Can anyone help me please?

Thanks.
Reply


Messages In This Thread
Testing controller method - by jojo - 12-19-2021, 09:47 PM
RE: Testing controller method - by jojo - 12-20-2021, 07:20 PM
RE: Testing controller method - by kenjis - 12-20-2021, 07:59 PM
RE: Testing controller method - by jojo - 12-20-2021, 08:11 PM
RE: Testing controller method - by kenjis - 12-20-2021, 10:02 PM
RE: Testing controller method - by jojo - 12-20-2021, 10:09 PM
RE: Testing controller method - by kilishan - 12-20-2021, 10:19 PM
RE: Testing controller method - by jojo - 12-20-2021, 10:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB