Automation of testing using JUnit
Posted
by Vijay Selvaraj
on Stack Overflow
See other posts from Stack Overflow
or by Vijay Selvaraj
Published on 2010-05-17T10:25:13Z
Indexed on
2010/05/18
6:20 UTC
Read the original article
Hit count: 449
Hi, i am trying to automate manual testing of modules in my project. We are dealing with IBM Websphere Message queue software. We have a trigger component written in core java which when executed polls for availability of message in the configured queue. Its an indefinite while loop that keeps the trigger component running. I have written test cases in JUnit to put message in the queue and now will i be able to start/stop the trigger component on demand? Invoking the trigger component keeps it running and i am not getting the control back to check the expected output. If i start it in thread then the log files to which the trigger component is supposed to update when processing the message is not getting updated. How can i resolve this situation. Your suggestion and directions is highly appreciated. Thanks, -Vijay
© Stack Overflow or respective owner