News for hackers. Stuff that matters.
Re:We Fell Out of Love with Next.js and Back in Love with Ru... by gedy on Saturday May 03, 2025 @10:28PM (#43884010)
Yeah, we were spending 10s of thousands of dollars on CI costs a month for a huge Rails app's integration tests alone..
Re:We Fell Out of Love with Next.js and Back in Love with Ru... by adenta on Saturday May 03, 2025 @11:15PM (#43884195)
What CI provider?
Re:We Fell Out of Love with Next.js and Back in Love with Ru... by gedy on Saturday May 03, 2025 @11:54PM (#43884354)
Was using TeamCity, then dropped some moving to another system.

The broader point was basically that the Rails UI integration tests took a very long time, and required the whole system up, and we had a pretty large team constantly pushing changes. While not 100% unique to Rails, it was exacerbated by RoR conventions.

We moved much of the UI to a few Next.js apps where the tests were extremely fast and easy to run locally.

Re:We Fell Out of Love with Next.js and Back in Love with Ru... by PapaPalpatine on Sunday May 04, 2025 @08:40AM (#43886383)
> Rails UI integration tests took a very long time

How many integration tests do you have? I generally only test a few core flows and then leave the rest to controller/request tests.

Re:We Fell Out of Love with Next.js and Back in Love with Ru... by gedy on Sunday May 04, 2025 @11:33AM (#43887296)
A lot. We were moving towards that approach when I left, though the detailed UI tests were then in JS tests which didn't need the whole app running.