DEV Community

Discussion on: Dynamic Config Values for Each PHPUnit Test Case in Laravel

Collapse
 
dbilovd profile image
David Lartey

Hi Marvin,

USSD use to also sound complex for me but after a while, I noticed it was just APIs. So if you can build APIs, you can build a USSD application.

If you're just getting started I built a Laravel (Package) to make it really to build USSD applications. You can find it here: github.com/dbilovd/php-ussd.

It was actually when I was building this package that I learnt the issue I wrote about in the post.

If you need any help, do let me know.
Thanks

Collapse
 
kennankole profile image
Kennedy

Do you also write tests for the USSD requests???

Thread Thread
 
dbilovd profile image
David Lartey

Hi @kennankole

I do by simulating a few things. One is the external API responses and another, the session states, especially for subsequent screens.

Collapse
 
espiramarvin profile image
Marvin Espira

okay thank you..lemme try it out