All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: [PATCH 0/1] Patch Description
Date: Sun, 26 Sep 2010 18:38:32 -0500	[thread overview]
Message-ID: <4C9FD978.7050502@gmail.com> (raw)
In-Reply-To: <1285343369-10418-1-git-send-email-gyagp0@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]

Hi Yang,

On 09/24/2010 10:49 AM, Yang Gu wrote:
> Phonesim is most of time a convenient way to test oFono. For example, it can be used to test MO call, as well as MT call. 
> And talking about test area, test automation is quite important regarding to both efficiency and effectiveness. In the test of MO call, scripts can be used to interact with oFono via D-Bus to make test automation possible. However, in the test of MT call, currently we have to enter the caller number and click some button in Phonesim GUI to simulate an incoming call, which makes test automation unrealistic.
> This patch is to enable Qt script (JavaScript following ECMAScript spec) in Phonesim, so that we can have some script control its GUI conveniently, and satisfy the test automation.
> 

I like this idea

> With this patch, Phonesim can work in the following way:
> 1. It observes some specific directory (/tmp/scripts) to see if there is some test scripts added.
> 2. Once Phonesim finds a new test script is added, it will parse and execute the script.
> 3. You may add more and more test scripts to the specific directory with your test goes on.
> 

However, using cp to run scripts seems a bit un-intuitive.  Perhaps a
simple D-Bus interface which can run the scripts would be better?

E.g. something like

org.ofono.Phonesim:

string Run(string script)

where the script contains the script to run and the return value might
return whatever is printed from the script.

Regards,
-Denis

  parent reply	other threads:[~2010-09-26 23:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-24 15:49 [PATCH 0/1] Patch Description Yang Gu
2010-09-24 15:49 ` [PATCH 1/1] Enable Qt Script Yang Gu
2010-09-25  3:00 ` [PATCH 0/1] Patch Description Zhang, Zhenhua
2010-09-26 23:38 ` Denis Kenzior [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-12-28 16:14 Yang Gu
2010-11-03  6:57 Yang Gu
2010-09-17  8:50 Yang Gu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C9FD978.7050502@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.