Vamsee Kanakala vamlists@gmail.com writes:
If I remember correctly, instantiating hunchentoot::request directly is a bit of a problem as it depends on things like headers-in to be set properly, which needs the server to be started, or at least instantiate a hunchentoot::server object.
Ahh, I see.
Though I can't say I had a detailed look all the unit test frameworks available out there, but I wasn't satisfied with the ones available, so basically I wrote my own on top of Peter Seibel's code in his PCL book. So a unit test framework that is more web-oriented, hunchentoot-compatible seems like a great idea.
I wasn't thinking about writing a unit test framework (there are plenty of those, I don't know how adding another one would be beneficial). I was just thinking about making it easy to unit test hunchentoot apps. It looks like you've already given all the information on how to do that, it's just a matter of making it part of hunchentoot (assuming it makes sense).
Since you're writing a web framework based on Hunchentoot, seems like we're solving the same problems (I'm adding these bits as I write my webapp) - would love to collaborate where I can.
I'll make it Open Source when I'm ready (probably in a few months). My code is currently in a hectic state so I don't want to publish it at the moment. I'd love to discuss any and all web-related issues, though.