Write Cypress Tests in Natural Language with Cy.prompt()(cypress.io)
cypress.io
Write Cypress Tests in Natural Language with Cy.prompt()
https://www.cypress.io/blog/cy-prompt-experimental-launch
3 comments
Sounds pretty powerful, but it's probably better to be used just to generate initial tests and then guide it manually - determinism.
Has anybody tried it and can comment on how well/bad does it work?
Has anybody tried it and can comment on how well/bad does it work?
The nice thing about this compared to generating tests in advance is that, if your app changes in non-material ways that would otherwise break a test, you don't need to regenerate - the AI will "adapt".
It's also, arguably, a form of fuzzing, maybe? I guess? Having it be non-deterministic means it might test the same thing in different - ideally all correct - ways, helping to uncover bugs.
It's also, arguably, a form of fuzzing, maybe? I guess? Having it be non-deterministic means it might test the same thing in different - ideally all correct - ways, helping to uncover bugs.
Ouff