News for hackers. Stuff that matters.
Re:Show HN: Machine writes QA code for OpenAPI by donmiller3 on Wednesday October 18, 2017 @03:37PM (#15502220)
can this be extended to other kind of testing? like unit tests?
Re:Show HN: Machine writes QA code for OpenAPI by yingxie3 on Wednesday October 18, 2017 @03:42PM (#15502261)
Good questions. The main difficulty IMHO is that it's hard to know people's intentions. We can't just parse the target program and generate tests, because then the tests will always pass. I picked API testing because people have a Swagger spec already, and it documents how the API should behave.