6 Replies Latest reply on Dec 15, 2009 11:12 AM by Alex Albericio

    EmptyUnitTest

    Alex Albericio

      Hi again,

       

        This rule, EmptyUnitTest, keeps complaining that "A test should contain at least one assertion". But, in my asynchrounous tests I perform only two things: a "Async.handleEvent(...)" and then a call to the method that will trigger the event. There are no assertions in this function but the assertions are placed in the handler function of the event.

       

        Shouldn't this rule check whether there's an "async" option in the test metadata tag?

       

      Regards,

        Alex