anbuashokcs / jforum2

Automatically exported from code.google.com/p/jforum2
Other
0 stars 0 forks source link

the junit test SummaryTest depends on google's smtp server #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. install jforum 2.3.3
2. run SummaryTest testcase
3.

What is the expected output? What do you see instead?
When google's smtp server is not available the testcase fails with error.

Please use labels and text to provide additional information.

In my opinion junit testcases should not depend on external servers only if 
it's unavoidable.

The dependency on the google smtp host could be easily prevented by using some 
local mock smtp server. One good such mock server is the "dumbster".

Original issue reported on code.google.com by peter.ri...@gmail.com on 23 Apr 2012 at 9:28

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r180.

This fixes the issue. Please review and close.

Original comment by peter.ri...@gmail.com on 24 Apr 2012 at 9:07

GoogleCodeExporter commented 9 years ago

Original comment by andow...@gmail.com on 20 May 2012 at 4:39