ConsoleResultReporter
public class ConsoleResultReporter
extends TestResultListener
implements ILogSaverListener, ITestInvocationListener
কনসোলে পরীক্ষার ফলাফল প্রিন্ট করতে ফলাফল রিপোর্টার।
প্রতিটি টেস্ট রান, প্রতিটি টেস্ট কেস এবং টেস্ট মেট্রিক্স, টেস্ট লগ এবং টেস্ট ফাইলের অবস্থান প্রিন্ট করে।
সারসংক্ষেপ
পাবলিক কনস্ট্রাক্টর
ConsoleResultReporter
public ConsoleResultReporter ()
পাবলিক পদ্ধতি
আহ্বান শেষ
public void invocationEnded (long elapsedTime)
আমন্ত্রণ শুরু হয়েছে
public void invocationStarted (IInvocationContext context)
পরামিতি |
---|
context | IInvocationContext |
লগ অ্যাসোসিয়েশন
public void logAssociation (String dataName,
LogFile logFile)
পরামিতি |
---|
dataName | String |
logFile | LogFile |
public void testLogSaved (String dataName,
LogDataType dataType,
InputStreamSource dataStream,
LogFile logFile)
পরামিতি |
---|
dataName | String |
dataType | LogDataType |
dataStream | InputStreamSource |
logFile | LogFile |
পরীক্ষার ফলাফল
public void testResult (TestDescription test,
TestResult result)
পরামিতি |
---|
test | TestDescription |
result | TestResult |
testRunended
public void testRunEnded (long elapsedTimeMillis,
metrics)
পরামিতি |
---|
elapsedTimeMillis | long |
metrics | |
testRunfailed
public void testRunFailed (FailureDescription failure)
পরামিতি |
---|
failure | FailureDescription |
testRunfailed
public void testRunFailed (String errorMessage)
পরামিতি |
---|
errorMessage | String |
testRunStarted
public void testRunStarted (String runName,
int testCount)
পরামিতি |
---|
runName | String |
testCount | int |