Learning Jmix through real-world app video series: Rent-your-Stuff

Issue #35 - Show customer details after selection - Part 2 - Test UI behavior

The conditional UI logic from #34 should be tested. This is what we are doing in this video.

  • ensure customer details are displayed after selecting customer
  • ensure customer details are displayed when opening existing order with customer association
  • ensure customer search is active after removing customer
  • talk about Component::isVisible vs. Component::isVisibleRecursive

Issue #36 - Migrate Rental Period to Order - Part 1 - Database Migration

When business requirements change, so does the data model. Let’s move the rental period from the Order Line entity to the Order entity to simplify usage. For that we in this video:

  • create entity attributes in the Order entity
  • create a custom SQL Liquibase migration to migrate the data
1 Like

Issue #37 - Migrate Rental Period to Order - Part 2 - Test Liquibase migration

When business requirements change, so does the data model. Let’s move the rental period from the Order Line entity to the Order entity to simplify usage. For that we will, in this video:

  • create an Spring integration test that triggers the liquibase migration process
  • see how to programmatically trigger the migration process
  • learn how to override Spring beans for test scenarios
  • verify that the custom SQL based migration is doing the intended thing
1 Like