Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed ArchUnit tests #3778

Merged
merged 27 commits into from
Jan 17, 2025
Merged

Fixed ArchUnit tests #3778

merged 27 commits into from
Jan 17, 2025

Conversation

lorriborri
Copy link
Member

@lorriborri lorriborri marked this pull request as ready for review January 8, 2025 13:55
@lorriborri lorriborri requested a review from hamidonos January 8, 2025 13:56
Copy link
Collaborator

@hamidonos hamidonos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the new rules for test classes. Good job 👍

But I'd like you to have a look at my comments:

You are mixing // ... and /* ... */ style of comments
Please use /* ... */ for real comments

I don't see a reason to put a generic warning message behind specific ArchUnit rules (because(...)). Either check for the violations at the end or print a generic warning message at the start/end.

I did not look at every violation here but please make sure that every test class ends with Test and any supporting test class starts with Test. Nothing in between should be possible.

Moving from assertEquals to fluent AssertJ ist optional. But it is beneficial in the long run.

@lorriborri lorriborri requested a review from hamidonos January 13, 2025 13:21
lorriborri and others added 4 commits January 14, 2025 15:52
- eclipse and IntelliJ direct class builds can now used
  in parallel of gradle builds. Per default the arch unit tests
  will only test gradle build outputs. But by setting
  -Dsechub.archunit.ignoreFolders=build it is possible to
  execute arch unit tests directly inside IDE without gradle
hamidonos and others added 12 commits January 17, 2025 09:00
* update spring boot version to 3.3.5 #3544

* added additional dependency org.flywaydb:flyway-database-postgresql to make flyway 10.10.0 and postgres 15.6 compatible
* Restructured pages and added create scan component #1900
* Added buttons and file input #1900
* Create configuration from user input #1900
* Added scan function and data upload api for source code and binaries #1900
* Added test setup #1900
* Added encryption ENV to docker images (local), refactored code #1900
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 7.0.5 to 7.0.6.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](peter-evans/create-pull-request@5e91468...67ccf78)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
also added updated .ts files
* implement job report download in web ui #3557

* pr fixes #3557

* pr fixes #3557
winzj and others added 4 commits January 17, 2025 09:00
* Added REST API for user cancel job #3789

* Applied spotless #3789

* Added 404 to openapi and replaced notauthorized by notfound #3789

* Added change requests #3789

* Added 204 to restDoc test #3789

* Added new management URL #3789

* Handle nullpointer #3789

* Refactored exception #3789

* Changed API URL #3789
@de-jcup de-jcup self-requested a review January 17, 2025 08:38
Copy link
Member

@de-jcup de-jcup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@lorriborri lorriborri merged commit 0d87d28 into develop Jan 17, 2025
2 checks passed
@lorriborri lorriborri deleted the feature-3713-fix-arch-unit-tests branch January 17, 2025 09:19
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.

ArchUnit refactore code, fix tests and test imports
5 participants