Open javier-godoy opened 1 month ago
The recent updates enhance the testing capabilities of the project by introducing new integration tests, a timer management interface, and a UI component for interacting with timers. The changes also refine the project's build management by updating the .gitignore
and pom.xml
files to exclude unnecessary files and include new testing dependencies. Together, these modifications improve the overall structure, functionality, and maintainability of the application.
Files and Directories | Change Summary |
---|---|
.gitignore |
Expanded to exclude additional build files and generated content, streamlining version control. |
pom.xml |
Added new testing dependencies and a new profile for integration testing with Jetty server setup. |
src/test/java/com/.../AbstractViewTest.java |
Introduced a base class for integration tests using Vaadin TestBench, supporting parallel execution. |
src/test/java/com/.../IntegrationCallables.java |
Added a public interface for timer management methods like start, pause, and reset. |
src/test/java/com/.../IntegrationView.java |
Created a UI component for timer interaction, implementing the IntegrationCallables interface. |
src/test/java/com/.../SimpleIT.java |
Added integration tests for timer component operations (countdown and countup). |
src/test/java/com/.../SimpleTimerElement.java |
Introduced a TestBench element for timer component, adding a method to retrieve the current time. |
sequenceDiagram
participant Client
participant IntegrationView
participant SimpleTimer
Client->>IntegrationView: setStartTime(startTime)
IntegrationView->>SimpleTimer: setStartTime(startTime)
Client->>IntegrationView: start()
IntegrationView->>SimpleTimer: start()
SimpleTimer-->>IntegrationView: Timer started
IntegrationView-->>Client: Timer is running
Client->>IntegrationView: isRunning()
IntegrationView->>SimpleTimer: isRunning()
SimpleTimer-->>IntegrationView: true
IntegrationView-->>Client: Timer is active
π° In a world of code both bright and new,
A timer ticks with a happy view.
With tests in place, oh what a delight,
Our rabbit ears perk up at the sight!
So hop along, letβs code and play,
For every change brings a joyful day! πΌ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
1 New issue
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Summary by CodeRabbit
New Features
Bug Fixes
Chores