title: Use of Junit but not for testing?
body: <p>I have a spring boot application with Vaadin and I just need simple UI element validation without backing beans.For example to just check if a textfield value is null,empty or not.</p>
  <p>Since validators require a bean I was thinking of using Junit Assert for this simple job. So using Junit not just for running tests but for the main flow of the application.</p>
  <p>Is this good practice and what alternatives are there?</p>