Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For the "strings which are valid sql queries" would it not be good enough to just hardcode some number of example sql queries? Say, 10-100 examples?


In fact we do very similar things - that is to say, of course spec cannot reverse-engineer my "this is valid sql" predicate to do it automatically and I end up having to hand-code a lot of generators anyways. The generation features of spec [for us, not for everyone] end up being a relatively minor value add compared to plain-ole test.check




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: