Skip to content

test(naming): adopt the test naming convention on master - #12

Merged
EdgarEldy merged 18 commits into
masterfrom
develop
Sep 20, 2026
Merged

EdgarEldy merged 18 commits into
masterfrom
develop

Conversation

@EdgarEldy

Copy link
Copy Markdown
Owner

Summary

  • Promotes develop to master: the README convention rule plus every test method renamed to _NN_Should<Outcome>_When<Condition>.
  • Names only, no test logic or behavior changed.

Test plan

  • mvn verify green on develop (188 tests, all method names conforming)
  • CI green on the feature/reactive-endpoints PR (build-and-test, commit-lint, native-build)

Test methods are named _NN_Should<Outcome>_When<Condition>, with a
two-digit sequence number restarting at _01_ in each test class.

The rule sits in the Code conventions section so every branch inherits
it as the changes merge forward.
…re/core-architecture

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
…re/auth

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
…re/rbac

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
…re/categories

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
…re/products

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
…re/customers

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
# Conflicts:
#	src/test/java/com/edgareldy/quarkustutorial/service/impl/CustomerServiceImplTest.java
…re/orders

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
…re/reactive-endpoints

Only test method names change, no test logic or behavior. Numbering
restarts at _01_ in each test class, following source order.

The convention is documented in the README Code conventions section.
test(naming): adopt the _NN_Should<Outcome>_When<Condition> test naming convention
@EdgarEldy
EdgarEldy merged commit 9a53f75 into master Sep 20, 2026
5 checks passed
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