Is there any documentation on how STF does the RMI? I would like to look 
into that and test it with IntelliJ, before we start with such a big 
venture :-)

Graham, how much would you like to dig into that? (We can also talk 
directly on that, if you'd like to)

Apart from the UI Testing, I am trying to set up tests for the file 
handling and having problems:

http://devnet.jetbrains.com/thread/455971

Any help is appreciated :-)

Regards,
Holger

Holger Schmeisky; holge...@fu-berlin.de
Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
+49 176 64146306

Am 21.07.2014 14:02, schrieb Stefan Rossbach:
> Hi again,
>
> I just looked at the UISpec4J Framework and it seems that this is the
> *equivalent* to SWTBot.
>
> So my suggestion would be to write a script that will generate code so
> that those methods can be accessed via
> RMI. You can look at the RemoteBot of the STF. Although this was purely
> written by hand (Please do not ask my why ...)
> it may be a good start.
>
>
> On 21.07.2014 13:51, Stefan Rossbach wrote:
>> On 21.07.2014 13:40, Holger Schmeisky wrote:
>>> Hi,
>>>
>>> thanks for looking into this. My 2 cents:
>>>
>>>>    - 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.
>>> Unfortunately the Saros-I code does more than plumbing - more like
>>> half of the work, but with a lot of duplication. But well, that makes
>>> it applicable for headless tests and I think thats a good path :-)
>> There are two main components: The Editor Stuff and the File Stuff which
>> cannot be part of the core. The rest should be mostly *cosmetic* stuff
>> (beside the Watchdog).
>>>> 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?
>>>>
>>> Yep, it's Swing. In Saros/E we fire up 2 Eclipse instances that run
>>> the Saros version and execute actions on them via RMI. In IDEA I had
>>> no luck starting two IDEA instances from one instance
>>> (http://devnet.jetbrains.com/message/5520017#5520017), so I suspended
>>> that thought for the moment.
>> We actually fire  up 4 instances (we could even fire up more). We do not
>> really execute "actions" (ok at least a few) with RMI. Most RMI calls
>> delegates to the SWTBot Framework so we really
>> simulate user input (sorry if you meant this with actions).
>>> Having an "OK it still works" integration test would be really
>>> helpful, but I am a bit intimidated by the setup work this would
>>> require (given the instances issues and the whole hassle of UI tests).
>>>
>>> A lower level where the tests would already make sense would be the
>>> directory creation / file handling level because I am having issues
>>> there at the moment.
>> If you want to use headless tests make sure IDEA is not using SWING. The
>> CI Server is running without a display (for good reasons).
>>> Regards,
>>> Holger
>>>
>>>> Kind regards,
>>>> Graham
>>>>
>>>>
>>>>
>>>>
>>>> On 21 July 2014 11:24, Stefan Rossbach <srossb...@arcor.de
>>>> <mailto: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 <tel:21.07.2014%2011>: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
>>>>          <mailto:holge...@fu-berlin.de>
>>>>          Takustraße 9, Room 008, Freie Universität Berlin, 14195 Berlin
>>>>          +49 176 64146306 <tel:%2B49%20176%2064146306>
>>>>
>>>>          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>
>>>>              <mailto: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>
>>>> <mailto: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>
>>>>              <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>
>>>>              <mailto:DPP-Devel@lists.__sourceforge.net
>>>>              <mailto:DPP-Devel@lists.sourceforge.net>>
>>>> https://lists.sourceforge.net/__lists/listinfo/dpp-devel
>>>> <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
>>>>          <mailto:DPP-Devel@lists.sourceforge.net>
>>>>          https://lists.sourceforge.net/__lists/listinfo/dpp-devel
>>>> <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

Reply via email to