You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2018/10/29 21:36:06 UTC

[jira] [Comment Edited] (SOLR-12939) standardise test class naming

    [ https://issues.apache.org/jira/browse/SOLR-12939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16667781#comment-16667781 ] 

Gus Heck edited comment on SOLR-12939 at 10/29/18 9:35 PM:
-----------------------------------------------------------

At the risk of venturing into a tabs vs spaces sort of thing, I have found that many online examples use the Test suffix rather than prefix.  For example:
http://www.mkyong.com/unittest/junit-4-tutorial-1-basic-usage/

Also the junit team themselves used *Test 
https://github.com/junit-team/junit4/tree/master/src/test/java/org/junit/internal

When I first had contact with the code I was shocked to see Test* classes. YMMV here's hoping I don't start a silly holy war :)


was (Author: gus_heck):
At the risk of venturing into a tabs vs spaces sort of thing, I have found that many online examples use the Test suffix rather than prefix.  For example:
http://www.mkyong.com/unittest/junit-4-tutorial-1-basic-usage/

Also the junit team themselves uset *Test 
https://github.com/junit-team/junit4/tree/master/src/test/java/org/junit/internal

When I first had contact with the code I was shocked to see Test* classes. YMMV here's hoping I don't start a silly holy war :)

> standardise test class naming
> -----------------------------
>
>                 Key: SOLR-12939
>                 URL: https://issues.apache.org/jira/browse/SOLR-12939
>             Project: Solr
>          Issue Type: Test
>            Reporter: Christine Poerschke
>            Priority: Major
>         Attachments: SOLR-12939.01.patch
>
>
> This was mentioned and proposed on the dev mailing list. Starting this ticket here to start to make it happen?



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org