I find that as an early-stage startup founder, I’m intensely focused on building my product and getting users, which leaves little time for writing tests. If I do write them, they’re usually unit tests, but I rarely write UI tests with Selenium because they’re so brittle as CSS selectors and UI layouts change frequently.

Have you guys had a similar experience? Would you write UI tests earlier if there was a way to use AI to automate them and make them more robust?

  • The_Startup_CTO@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Ideally, you have devs that are faster when writing tests. But you might not have the brand and money yet to attract great talent, and in that case, it’s fine to sacrifice quality for speed. You will hate yourself for this decision in a year or two when you will have to feature-freeze for a year to do a full rewrite - but you would hate yourself more if you didn’t even get to enough customers to that a rewrite becomes necessary :)