When tests are generated by AI, they can appear amazing, with detailed names and noticeable structures. However, even when implementing AI-generated tests, manual work is still required to establish guidelines, create titles, and handle additional components. There is a degree of vigilance needed when using AI-generated tools, as tests may contain errors. The time trade-off between AI-generated tests and manual writing depends on the complexity of the task. For simpler components, manual testing may be sufficient, but for more complex scenarios, AI can provide valuable assistance.
I'm setting them up. I'm setting up my test files. Do you or should you, or how could you separate or should you bother at all separating tests that are written by an AI, a machine versus those that are actually handcrafted and written by developers manually?
It is very noticeable when it's generated by AI because we still have human factor. I'm not sure are you a good tester for example or not, but when you generate test by yourself, you can miss something or the title of this test is not... Seems like it's not technical. It's just the name of test case and it is located in your test. But when it generated by AI, it looks amazing. You know, it's wow. The name of this test is really, really detailed and the structure of this test is also noticeable.
And as for separation between one from the second part, even if you are going to implement, and I believe you will implement this test generated by AI into your test framework, you will still have some manual work just to have a developing guideline. You need to create your own, for example, titles or you need to create variables. And for example, someone support components page like for another components, and you can also do this kind of additional work.
I have a question going back to something you said earlier and part of your talk as well. So it's generated this test, the test is incorrect. There's some error with it. And so there is still a degree of vigilance that you have to have from AI generated tools before you just go ahead and take those tests and implement them. And I wonder for a lot of test writing is a lot of the... Even the examples you gave, they weren't necessarily very advanced examples, but writing lots of them is quite menial. I wonder, do you have any thoughts around the time trade-off between having AI generate something that could or could not be wrong and needing to review it and validate it versus just writing it manually in the first place?
It depends on the complexity. If it's just checking the components, maybe it's not a good example with API, but I will switch to UI side. So if we just need to check components, not try the whole end-to-end test when you connect to the database and make some actions before running your tests. When you just need to test the, I don't know, login form, it is enough. But if you have some very difficult and deep things, you can use it like a help. Of course, it will ease your work. But still, as an experienced tester, it not takes a lot of time to write it by yourself, but it will be easy for you to do it. I hope it's clear. Yeah. I just... It's this trade-off in my mind that isn't quite sitting. I'm not sure if I'm just going around in circles and others are feeling the same or not feeling the same.
Comments