feat: load billing adapters #125

Merged
realaravinth merged 63 commits from load-billing-adapter into master 2025-01-11 19:41:14 +05:30
Showing only changes of commit 5352fcccfc - Show all commits

View file

@ -0,0 +1,28 @@
#!/bin/bash
help() {
echo "Usage: web_test_generator.sh <domain name> <handler route>"
}
run() {
echo "
#[actix_rt::test]
async fn $1_web_$2_ui_works() {
let routes = RoutesRepository::default();
page_test_runner( &routes.$2).await;
}"
}
if [ -z $1 ]
then
help
elif [ -z $2 ]
then
help
else
run $1 $2 | wl-copy
run $1 $2
fi