r/programming • u/gajus0 • Sep 07 '22
Rewriting tests from Cypress to Playwright using GPT3
https://contra.com/p/PWBcPYZc-rewriting-tests-from-cypress-to-playwright-using-gpt-34
u/Barbas Sep 07 '22
I can definitely see unit test ports between frameworks and languages becoming one the main applications for GTP3-like tech.
The input and output is well structured usually, tests are usually short enough that the model csn still produce good results, and correctness should be relatively easy to verify (perhaps using fuzzing too?)
1
u/Kevin_Jim Sep 08 '22
To avoid having to do things like that it’s good to use CodeceptJS. It’s a front-end that can utilize any testing/automation backend you want. Highly recommended.
1
u/John4qa Jul 17 '23
Hello Friend,
If you want to see the comparison Cypress / vs Playwright
Please follow the below links for detail comparison.
Cypress / vs Playwright
24
u/zephyrtr Sep 07 '22
I'm more interested why playwright is so good?