Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

semantic commit message type for adding unit testing

What semantic commit message type should I use for adding unit test cases? Like Udin.test.js, feat , chore , or update?

like image 391
Blank Avatar asked Jul 14 '26 01:07

Blank


1 Answers

By "semantic commit message" you are probably referring to Conventional Commits. In that case, the answer is in the summary:

  1. types other than fix: and feat: are allowed, for example @commitlint/config-conventional (based on the the Angular convention) recommends build:, chore:, ci:, docs:, style:, refactor:, perf:, test:, and others.

So, use test: for adding test cases.

like image 57
1615903 Avatar answered Jul 18 '26 04:07

1615903



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!