Hey,
There's some advice from the IDEA team about testing here:
http://confluence.jetbrains.com/display/IDEADEV/Testing+IntelliJ+IDEA+Plugins
Most notable points:
- they try to stick to testing the 'model', using headless builds. If
there's already a separated 'core' of Saros, which can be tested in
isolation, and there's only really plumbing left to do, that may not be
applicable for the Saros-I code.
- they don't provide any UI testing tools themselves. They mention FEST
and Sikuli but don't make use of those tools themselves. I've never used
FEST or Sikuli, but I have used UISpec4J, many moons ago, and it was a very
useful tool for testing Swing UIs (I assume IDEA is based on Swing,
certainly has that appearance).
- they manually test their own UIs (!) On one level I can appreciate why
that's a good approach: it forces you to look at the app and see issues
with the appearance that a test won't catch. On a more subtle level, if you
don't have the backing of automated testing of the UI, it encourages you
(or it should, at least, IMO) make the UI so easy, dumb, and trivial that
you don't feel the need to test it, and you push more of your code into the
model, that you can test headlessly. IMO it would still be useful to have
some kind of automated end-to-end test that checks the main bits are
assembled together in such a way that you have confidence it won't
immediately crash.
Would it be worth investigating one of these libraries to see if it's
possible to spin up an IntelliJ instance in a JUnit test?
Kind regards,
Graham
On 21 July 2014 11:24, Stefan Rossbach <srossb...@arcor.de> wrote:
> I would suggest a similar framework like SWTBot for AWT(Swing)
> applications which can be accessed with RMI
> as we do with our STF.
>
>
> On 21.07.2014 11:28, Holger Schmeisky wrote:
>
>> Hi Graham,
>>
>> I am very glad to hear from you!
>>
>> Franz already told me about you and I read your quite enthusiastic blog
>> post about Saros for Eclipse and how it compares to other solutions :-)
>>
>> There probably will be too much churn in the development branch for it
>> be a good base for collaboration. I think it is a better idea to wait
>> with that until a runnable version is in the master branch, so you can
>> branch from there and develop from a clean state.
>>
>> The next biggest impediment is, that there are no automated tests for
>> the development version and it has to be tested manually -- we should
>> fix that rather early I'd say.
>>
>> I'm working on that at the moment, but experiencing problems. Is anybody
>> here who has experience testing IDEA IntelliJ plugins? :-)
>>
>> Regards,
>> Holger
>>
>>
>> Holger Schmeisky; holge...@fu-berlin.de
>> Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
>> +49 176 64146306
>>
>> Am 18.07.2014 20:23, schrieb Graham Allan:
>>
>>> Hi Holger,
>>>
>>> Great to hear!
>>>
>>> I work for a company based in London, from my home in Scotland. Saros
>>> has been a big part of our development process for over 18 months now,
>>> and myself and my team are very keen to see the IntelliJ plugin. I've
>>> already contributed the ant build script for the Saros-I project and am
>>> eager to do more.
>>>
>>> Would you recommend checking out the current code or will there be so
>>> much churn in that area that we may as well wait?
>>>
>>> Kind regards and have a great weekend,
>>> Graham
>>>
>>>
>>> On 16 July 2014 13:43, Holger Schmeisky <holge...@fu-berlin.de
>>> <mailto:holge...@fu-berlin.de>> wrote:
>>>
>>> Hello everyone,
>>>
>>> my name is Holger and I am a colleague of Franz, currently working
>>> at FU
>>> Berlin on the development of Saros for JetBrains IDEA (IntelliJ,
>>> PyCharm, PhpStorm, ...).
>>>
>>> An IDEA version is under way and there is already a halfway-usable
>>> development version (in the development/raimondas2 branch). It
>>> already
>>> has the basic features like project sharing, editing, follow mode,
>>> etc.
>>> However this version still misses a lot, is without automated tests
>>> and
>>> has only partially been merged into the master branch.
>>>
>>> In about 2-3 weeks, the code will be in a shape where other people
>>> can
>>> actually develop on it. I think it already makes sense to get in
>>> touch
>>> before, to get to know the codebase and our development process.
>>>
>>> So if you are interested in joining Saros/I development, please
>>> contact
>>> me or write here, so I can get to know you and get an overview how
>>> much
>>> interest there is :-)
>>>
>>> Regards,
>>> Holger
>>>
>>>
>>>
>>> --
>>> Holger Schmeisky; holge...@fu-berlin.de <mailto:
>>> holge...@fu-berlin.de>
>>> Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
>>> +49 176 64146306 <tel:%2B49%20176%2064146306>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Want fast and easy access to all the code in your enterprise? Index
>>> and
>>> search up to 200,000 lines of code with a free copy of Black Duck
>>> Code Sight - the same software that powers the world's largest code
>>> search on Ohloh, the Black Duck Open Hub! Try it now.
>>> http://p.sf.net/sfu/bds
>>> _______________________________________________
>>> DPP-Devel mailing list
>>> DPP-Devel@lists.sourceforge.net <mailto:DPP-Devel@lists.
>>> sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/dpp-devel
>>>
>>>
>>> ------------------------------------------------------------
>> ------------------
>> Want fast and easy access to all the code in your enterprise? Index and
>> search up to 200,000 lines of code with a free copy of Black Duck
>> Code Sight - the same software that powers the world's largest code
>> search on Ohloh, the Black Duck Open Hub! Try it now.
>> http://p.sf.net/sfu/bds
>> _______________________________________________
>> DPP-Devel mailing list
>> DPP-Devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dpp-devel
>>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel