Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Test naming inconsist with function naming. #255

Copy link
Copy link
Open
@Tillaert

Description

@Tillaert
Issue body actions

The guide advises to name tests:

(deftest foo-test ...)

But functions as

(defn foo ...)

Shouldn't it be:

(defn foo-function ...)

to be consistent?

However, there is no need postfix testnames with -test, since the tests are marked in their meta-data, and the test runner can locate them this way. Clojure does not locate tests by name, such as is the case in Python and Javascript, for example, where this is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.