Details
Details
- Reviewers
mwolff - Group Reviewers
KDevelop - Commits
- R32:4cd1f0e17366: Qt unit test template: add option to prefix test methods with "test"
Diff Detail
Diff Detail
- Repository
- R32 KDevelop
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Could you give an example, not sure what you mean?
The idea with the prefix is to allow the user optionally to enter test cases (by UI lingo) without a "test" prefix, for quicker typing. And then still have all the ,method names generated with a "test" prefix, if they want.
Hardcoding seemingly common practice, if the prefix is done, the first letter after the prefix would be enforced to camelCased: "test" + "foo" -> "testFoo".
file_templates/testing/cpp_qtestlib/class.cpp | ||
---|---|---|
4 ↗ | (On Diff #10787) | unrelated? |