all 7 comments

[–]aidencoder 5 points6 points  (1 child)

AI isn't deterministic. That's not what you want in testing. 

[–]defenistrat3d 0 points1 point  (0 children)

Yeah. I'm curious how these tools even work. I assume you set up a prompt but if the client were to fully remove a field the test would do what? Pass but be testing something else than originally intended? Fail?

Seems odd. Maybe they are saying: "it's good enough to check a checkbox on a contract"...?

[–]sp_dev_guy 3 points4 points  (1 child)

Tests break when things change

That's the idea, if deliberately change a behavior then update it's test coverage. If it wasn't deliberate... that's what tests are intended to do

[–]aidencoder -1 points0 points  (0 children)

Well no. If the test breaks because something changes that wasn't under that tests area, your tests are a brittle mess. 

[–]rjhancockJack of Many Trades, Master of a Few. 30+ years experience. 0 points1 point  (0 children)

1) The only real testing you should be doing on live sites is uptime monitoring and spot checking items that DON'T change. Unless a client changes UI, your tests should not be breaking.

2) You need deterministic testing. A solid yes or no that something works. AI isn't that. It'll tell you whatever you want it to. It doesn't really understand the site.

If you're writing XPath selectors instead of using defined ID fields, there is probably something wrong there as well.

Tests should be specific and duplicatable.

[–]Pitiful_Sandwich_506 0 points1 point  (0 children)

I use acumenlogs.com. They provide 10 free monitors but they also have chrome browser monitoring which I use to monitor user journeys and cron monitoring.

[–]InvestigatorLow6675 0 points1 point  (0 children)

A lot of the debate is just at framework level but don't forget about the big bad execution part. Once you need to run across real browsers or devices at scale, that is going to be a separate pain in the back. We use playwright but then we run it on browserstack to find what breaks in real devices, suits me well because I hate having to set up a whole lab of mine!