Syn looks great, and thanks for the link to event_mock as well. Think that
answers my question.

On Tue, Oct 19, 2010 at 3:12 PM, Sean McArthur <[email protected]>wrote:

> Alternatively, this plugin in the Forge might help you with less work
> http://mootools.net/forge/p/event_mock
>
>
>
> On Tue, Oct 19, 2010 at 3:01 PM, Christoph Pojer <
> [email protected]> wrote:
>
>> you could just mock an event by doing new Event({an object that
>> appears like a mouse event}).
>>
>> On a different level and if you just care for good browsers, you can
>> look into simulating real events: We use Syn for mootools-runner which
>> does exactly that:
>> http://jupiterjs.com/news/syn-a-standalone-synthetic-event-library
>>
>>
>> On Oct 19, 11:57 pm, Greg Moeck <[email protected]> wrote:
>> > I'm trying to write some integration/acceptance tests for an
>> > application that I'm writing that uses Sortables, but I'm having some
>> > trouble simulating the dragging. My plan was merely fire the events
>> > for mousedown, movemouse, and and mouseup, but when I use
>> > element.fireEvent, the Sortables start method fails, since a true
>> > event is not passed in. I'm pretty sure it's just my lack of
>> > understanding of javascript, but how would you go about doing
>> > something like this?
>>
>
>

Reply via email to