Skip to content

Conversation

herbsee02
Copy link

@herbsee02 herbsee02 commented Oct 1, 2025

Implemented a CLT for the motion brick "Spin Left/Right _ Degrees/Second". The test works on two Layers:

  • The Look-Direction of an object in a scene is checked at specific timestamps. A tolerance is used for the angle to ensure that the test doesn't become flaky.
  • The Pixel-Colors are compared to defined values at specific timestamps to verify that the rendering is working.

Furthermore, the test covers clockwise and counterclockwise rotations, edge values, and combined rotations in succession.

https://catrobat.atlassian.net/browse/IDE-293

Your checklist for this pull request

Please review the contributing guidelines and wiki pages of this repository.

  • Include the name of the Jira ticket in the PR’s title
  • Include a summary of the changes plus the relevant context
  • Choose the proper base branch (develop)
  • Confirm that the changes follow the project’s coding guidelines
  • Verify that the changes generate no compiler or linter warnings
  • Perform a self-review of the changes
  • Verify to commit no other files than the intentionally changed ones
  • Include reasonable and readable tests verifying the added or changed behavior
  • Confirm that new and existing unit tests pass locally
  • Check that the commits’ message style matches the project’s guideline
  • Stick to the project’s gitflow workflow
  • Verify that your changes do not have any conflicts with the base branch
  • After the PR, verify that all CI checks have passed
  • Post a message in the catroid-stage or catroid-ide Slack channel and ask for a code reviewer

Copy link

sonarqubecloud bot commented Oct 1, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant