Mock Authentication |
Hi everyone! I have a quick one for you tonight:
Tatter\Imposter Mock Authentication for CodeIgniter 4 https://github.com/tattersoftware/codeigniter4-imposter Since the inception of codeigniter4/authentication-implementation it has been much easier to create authentication-agnostic modules. The drawback to this is that you still need a way to test the code with some authentication. In the past I would plug in an entire library just to meet the requirement - no more! Imposter solves this by providing a bare minimum, easy-to-use authentication service and helper to facilitate testing. Right now it does the basics: login, logout, check for auth status. I hope to add in some more testing assertions down the road. Check out the repo and let me know what you think! https://github.com/tattersoftware/codeigniter4-imposter
Am very glad this guy is part of CI team. He is giving everything for Codeigniter. Thumbs up bro.
|
Welcome Guest, Not a member yet? Register Sign In |