[ http://issues.apache.org/jira/browse/DERBY-1303?page=comments#action_12413728 ]
Tomohito Nakayama commented on DERBY-1303: ------------------------------------------ Hello. My thoughts are as next... 1) Tests may be runnable as independent program , but not needed to be. Now we have *.junit support in our test framework, then runnablitily of each tests is not needed. However, there are no need to prohibit it. 2) Yes. I think we need support for starting and shutdown network server from tests. I saw several tests which start annd shutdown network server, not only derbynet/SuicideOfStreaming.junit, derbynet/dataSourcePermissions_net.java ,which was touched in DERBY-273 , for example. Then, I think it is natural to support start/shutdown network server in test framework. I prefer to implement code to support this , in class methods of subclass from BaseJDBCTestCase. However, it should be left to programmer who works for it :) About your two option of "a) or b)", I think it should be possible for programmer who implement each tests to choose which. I think question of "a) or b)" depends on what the individual test does. Then framework code should support both of them. 3) I thnk we can place *.junit tests in the same directory as other tests, because *.junit are tests in the same way as others. However,I think we should have the list that tells which tests are executed as *.junit. (I think this list should be existed not only for *.junit ,but also for *.java *.sql *.unit ... That list would help us.) > The test of derbynet/SuicideOfStreaming.java is failed when programs are > build as Insane. > ----------------------------------------------------------------------------------------- > > Key: DERBY-1303 > URL: http://issues.apache.org/jira/browse/DERBY-1303 > Project: Derby > Type: Bug > Components: Test > Environment: > http://www.multinet.no/~solberg/public/Apache/TinderBox_Derby/Limited/testSummary-405038.html > Reporter: Tomohito Nakayama > Assignee: Tomohito Nakayama > Attachments: DERBY-1303.patch > > "derbynet/SuicideOfStreaming.java" have dependency on build as Sane. > When programs are build as Insane, > code to cause artificial Exception is not compiled and > streaming does not failed in derbynet/SuicideOfStreaming.java as expected in > this test program. > The dependency results in fail of derbynet/SuicideOfStreaming.java when > programs are comiled as insane. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
