facebook

Can Run Unit Test Once – Then Must Restart MyEclipse

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #338822 Reply

    curmudgeon99
    Participant

    Using MyEclipse 10.7-20121026

    When I ask MyEclipse to run a JUnit 4 Unit test, using:

    import org.apache.camel.test.junit4.CamelSpringJUnit4ClassRunner;

    @RunWith(CamelSpringJUnit4ClassRunner.class)

    If will run the test exactly once. If I try to do the same procedure: Run –> Debug as –> JUnit Test, it will run it exactly once. If I try again, it totally ignores the click and does nothing at all.

    If I close MyEclipse and re-open it, the test runs fine–just once.

    What am I doing wrong?

    Thank you

    #338871 Reply

    support-swapna
    Moderator

    curmudgeon99,

    Can you please give us some more information ?

    1. Are you seeing the issue only with test cases using Apache Camel ? Can you please check with a simpler project using JUnit 4 test case and see how it works?

    2. Copy paste the contents of the .log file which is located at <workspace dir>/.metadata/.log for us to take a look.Please also attach a sample project which exhibits the issue and send it over to help us replicate the issue at our end.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Can Run Unit Test Once – Then Must Restart MyEclipse

You must be logged in to post in the forum log in