joy-framework / joy

A full stack web framework written in janet
https://joy.swlkr.com
MIT License
537 stars 30 forks source link

Improvement suggestion for the default template #76

Open oz123 opened 4 years ago

oz123 commented 4 years ago

First, let me say thanks! I just started with joy and it is a joy! I saw you also created a nice testing framework. How about adding a simple test case to the default template to encourage people to write tests and also demonstrate the framework?

swlkr commented 4 years ago

Yeah, what's funny is I had a sample test in there that just called app and checked for a success response but I took it out.

Not sure why now that I think about it.

It's time to put it back in though, I agree

oz123 commented 4 years ago

A few more suggestions:

@swlkr I figured out how to use http (it's pretty awesome that this is simply syntactic sugar on top of curl). Would like me to send a PR with my suggestions?

swlkr commented 4 years ago

Yeah! Open up a PR and we can get it merged