Re: [qooxdoo-devel] running test runner from console (or for qx.Server?)

2012-08-16 Thread Florin Jurcovici
Incidentally I'm working on something similar. There's a technique for
isolating the widgets from the UI logic, so you _can_ test your UI
logic in isolation from actual UI widgets - documented here:
http://www.objectmentor.com/resources/articles/TheHumbleDialogBox.pdf.
There's some scaffolding involved, but the benefit is significantly
better facilities for unit tests.

-- 
Rule of Diversity: Distrust all claims for “one true way”. (Eric S.
Raymond, The Art Of Unix Programming)

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] running test runner from console (or for qx.Server?)

2012-08-13 Thread Leandro Santiago
Thanks, it's exactly what I need :-)

2012/8/13 Daniel Wagner :
> Hi,
>
> both is possible. You can generate a "basic" test runner that will run
> in node.js or Rhino using the "test-basic" and "test-basic-source" jobs.
> These are included from application.json, you just have to add them to
> the "export" list in your config.json. You just need to be careful not
> to include any test classes that have dependencies to qooxdoo's ui
> layer, as that will prevent the test runner from starting in a
> non-browser environment. You can customize the TEST_INCLUDE macro to
> include only specific test namespaces.
>
> This blog post explains how to run qx unit tests in PhantomJS:
> http://news.qooxdoo.org/running-unit-tests-from-the-command-line
>
>
> Regards,
> Daniel
>
> On 08/12/2012 02:08 AM, Leandro Santiago wrote:
>> Hello. Maybe I haven't searched very deep, but is there a way to run
>> qooxdoo unit tests without a web browser, from node.js or something
>> like this? I'm not going to test browser dependent features, only
>> qx.Server.
>>
>> Or it'd be nice if it were possible to use the test runner with phantomjs...
>>
>> Thx in advance!
>>
>
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-- 
-
Sent from my Atari

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] running test runner from console (or for qx.Server?)

2012-08-12 Thread Daniel Wagner
Hi,

both is possible. You can generate a "basic" test runner that will run 
in node.js or Rhino using the "test-basic" and "test-basic-source" jobs. 
These are included from application.json, you just have to add them to 
the "export" list in your config.json. You just need to be careful not 
to include any test classes that have dependencies to qooxdoo's ui 
layer, as that will prevent the test runner from starting in a 
non-browser environment. You can customize the TEST_INCLUDE macro to 
include only specific test namespaces.

This blog post explains how to run qx unit tests in PhantomJS:
http://news.qooxdoo.org/running-unit-tests-from-the-command-line


Regards,
Daniel

On 08/12/2012 02:08 AM, Leandro Santiago wrote:
> Hello. Maybe I haven't searched very deep, but is there a way to run
> qooxdoo unit tests without a web browser, from node.js or something
> like this? I'm not going to test browser dependent features, only
> qx.Server.
>
> Or it'd be nice if it were possible to use the test runner with phantomjs...
>
> Thx in advance!
>

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel