DEV Community

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

Collapse
 
espiramarvin profile image
Marvin Espira

I'm curious to know how you implemented your USSD

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

Collapse
 
derdusm profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Derdus Mosoti

USSD is all APIs, but you need to understand a thing or 2 in the GSM network.

There is a very comprehensive course on USSD and SMS featuring the Africa's Talking #USSD gateway here skillsday.co/courses/building-and-...

It can be very helpful @espiramarvin

Collapse
 
derdusm profile image
Derdus Mosoti

USSD is all APIs, but you need to understand a thing or 2 in the GSM network.

There is a very comprehensive course on USSD and SMS featuring the Africa's Talking #USSD gateway here skillsday.co/courses/building-and-...

It can be very helpful @espiramarvin

Collapse
 
espiramarvin profile image
Marvin Espira

Thank you so much