iCreatAI News
Skip to content
Trending storyUpdating

Vaadin browserless testing: run UI-inclusive integration tests in milliseconds

1 reports1 sources17 hr agoUpdated

Understand this story

AI overview

Developer spicyroman published a post introducing Vaadin Browserless Testing: full integration tests that include UI code can complete in milliseconds rather than seconds, with no browser or web server needed; tests run the real component tree, binder, services and SQL directly, all within the same JVM; failures are code errors rather than timing issues. According to the author, test classes extend SpringBrowserlessTest from the browserless-test-spring dependency and use @SpringBootTest to get the full application context. He still keeps a small number of Playwright end-to-end tests for critical user flows. The author says that compared with the classic architecture of a JavaScript SPA plus a Java backend, this approach is especially well suited to web applications generated by AI coding agents.

AI overview based on source reports · Updated 16 hr ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 5
  1. Hacker News AI
    Why Vaadin Browserless Testing Is a Game Changer for AI Generated Web Apps

    The post argues that Vaadin Browserless Testing runs full integration tests, including UI code, in milliseconds without a browser or web server, since Vaadin Flow views are server-side Java calling services in the same JVM. It contrasts this with SPA architectures, where frontend, backend and end-to-end tests form three toolchains and the frontend-backend contract is only covered by slow, fragile e2e tests. The author says this speed and determinism suit AI coding agents and yield a single JaCoCo coverage number for UI, services and jOOQ repositories.

Activity for this story

Current comparable activity
6
Peak comparable activity
10Nov 5 22:00
Change in the past 24 hours
–

Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.