Skip to content

Make the developer experience better (lower time-to test, better test time)Β #2970

@JanCizmar

Description

@JanCizmar

🚨🚨 This bounty requires a developer who has deep knowledge and skills in Spring Boot. If you don't have such experience, contributing to this issue will probably be a waste of your precious time.
Also, don't try to generate the PR with AI.

1. Problems

  • It's time consuming to write integration test for Tolgee
    • Because of the build time might be lower
    • Because the context loads in 8 seconds
    • The time to run all integration tests is ~7mins

2. Solution

  • Upgrade Spring Boot to the latest version
  • Look if it's possible to optimize subsequent builds (mostly we change stuff in data and server-app modules)
  • Look why the context is loading in 8 seconds -> Make it 3 seconds
  • Optimize the backend test time ./gradlew test (make it 3 minutes max, 5 min including the build)
  • Maybe Spring AOT can help? https://docs.spring.io/spring-framework/reference/core/aot.html

Success evaluation

  • I will run it on my Macbook Pro M3
  • All the test need to pass locally

Don't

  • Care about which file do you edit, don't push formatting changes to the PR
  • If the tests don't pass on your machine, don't submit it
  • Don't try to generate this with AI. There's no chance you will succeed
  • Requesting review multiple times with the same basic mistakes will lead to closing the PR

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions