Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write test cases for beego app?

How to approach writing test cases for Beego app. As i can see on Beego website, they have model test case but what about controllers?

Any Framework which can help?

like image 249
Sandeep Singh Avatar asked Nov 08 '22 20:11

Sandeep Singh


1 Answers

This is a beego sample project. In the test folder, it shows how to write unit test for controllers https://github.com/goinggo/beego-mgo

like image 99
guptachirag Avatar answered Nov 15 '22 10:11

guptachirag