Welcome Guest, Not a member yet? Register   Sign In
Unit testing issue
#5

(01-29-2020, 06:02 PM)MGatner Wrote: What version of the framework are both of you using? Are you running just the test in question, or a suite that includes this one? How are you bootstrapping your tests?

If you haven’t already I highly recommend checking out codeigniter4projects/ProjectTests and ModuleTests for unit testing with the framework.

For me, I'm using 4.0.0-rc.3 and yes, that is the only test I'm running right now. Bootstrapping-wise I'm using the default phpunit.xml.dist unless I made a change I've forgotten about. I'll check again first thing tomorrow and post here if I've updated.

Thanks for the pointers - I'd not seen the link to the projects repository in the user guide source installation directory repositories file. I'll definitely check those out!
Reply


Messages In This Thread
Unit testing issue - by maxxd - 01-27-2020, 10:41 AM
RE: Unit testing issue - by maxxd - 01-28-2020, 08:27 AM
RE: Unit testing issue - by hatsat32 - 01-28-2020, 10:02 AM
RE: Unit testing issue - by MGatner - 01-29-2020, 06:02 PM
RE: Unit testing issue - by maxxd - 01-29-2020, 07:51 PM
RE: Unit testing issue - by hatsat32 - 01-31-2020, 09:51 AM
RE: Unit testing issue - by maxxd - 02-09-2020, 10:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB