* toaster automated testing
@ 2015-05-08 13:47 Damian, Alexandru
2015-05-08 13:52 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Damian, Alexandru @ 2015-05-08 13:47 UTC (permalink / raw)
To: toaster@yoctoproject.org, StanciuX Mihail, Alexandru Georgescu
[-- Attachment #1: Type: text/plain, Size: 687 bytes --]
Hello,
I've been progressing a bit on the automated Toaster testing. We need to
get this step in a reasonable shape in order to help with the massive
refactoring that we planned for 1.9 M1.
As part of this effort, I moved the existing automated UI testing from a
poky-branch to yocto-TTS, as it stand no chance for successful merging
upstream in Poky.
You can find it here:
https://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/tree/toasteruitest?h=yocto-tts/master
and I strongly suggest that any further development be based on this tree.
I'm working to integrate these tests properly in the TTS.
Cheers,
Alex
--
Alex Damian
Yocto Project
SSG / OTC
[-- Attachment #2: Type: text/html, Size: 2061 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toaster automated testing
2015-05-08 13:47 toaster automated testing Damian, Alexandru
@ 2015-05-08 13:52 ` Richard Purdie
2015-05-08 14:21 ` Damian, Alexandru
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2015-05-08 13:52 UTC (permalink / raw)
To: Damian, Alexandru; +Cc: toaster@yoctoproject.org
On Fri, 2015-05-08 at 14:47 +0100, Damian, Alexandru wrote:
> I've been progressing a bit on the automated Toaster testing. We need
> to get this step in a reasonable shape in order to help with the
> massive refactoring that we planned for 1.9 M1.
>
> As part of this effort, I moved the existing automated UI testing from
> a poky-branch to yocto-TTS, as it stand no chance for successful
> merging upstream in Poky.
Why wouldn't we want to merge automated tests for toaster somewhere like
bitbake?
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toaster automated testing
2015-05-08 13:52 ` Richard Purdie
@ 2015-05-08 14:21 ` Damian, Alexandru
2015-05-08 16:32 ` Richard Purdie
0 siblings, 1 reply; 5+ messages in thread
From: Damian, Alexandru @ 2015-05-08 14:21 UTC (permalink / raw)
To: Richard Purdie; +Cc: toaster@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]
My thinking is that unit tests, that are to be run inside the django
application, should be in bitbake.
These tests are integration and smoke tests, with a long list of
dependencies (selenium, browsers, w3c-validator, various other tools) and I
wouldn't want to bring these dependencies into Bitbake. Furthermore, the
code structure is not integrated at all with current code in Toaster,
Bitbake, or oe-selftest framework. It doesn't fit in.
Unit tests that validate individual Toaster features and bug fixes are to
be implemented in Django unit test framework, and live inside Bitbake.
Cheers,
Alex
On Fri, May 8, 2015 at 2:52 PM, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2015-05-08 at 14:47 +0100, Damian, Alexandru wrote:
> > I've been progressing a bit on the automated Toaster testing. We need
> > to get this step in a reasonable shape in order to help with the
> > massive refactoring that we planned for 1.9 M1.
> >
> > As part of this effort, I moved the existing automated UI testing from
> > a poky-branch to yocto-TTS, as it stand no chance for successful
> > merging upstream in Poky.
>
> Why wouldn't we want to merge automated tests for toaster somewhere like
> bitbake?
>
> Cheers,
>
> Richard
>
>
>
--
Alex Damian
Yocto Project
SSG / OTC
[-- Attachment #2: Type: text/html, Size: 2401 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toaster automated testing
2015-05-08 14:21 ` Damian, Alexandru
@ 2015-05-08 16:32 ` Richard Purdie
2015-05-08 16:41 ` Damian, Alexandru
0 siblings, 1 reply; 5+ messages in thread
From: Richard Purdie @ 2015-05-08 16:32 UTC (permalink / raw)
To: Damian, Alexandru; +Cc: toaster@yoctoproject.org
On Fri, 2015-05-08 at 15:21 +0100, Damian, Alexandru wrote:
> My thinking is that unit tests, that are to be run inside the django
> application, should be in bitbake.
>
> These tests are integration and smoke tests, with a long list of
> dependencies (selenium, browsers, w3c-validator, various other tools)
> and I wouldn't want to bring these dependencies into Bitbake.
> Furthermore, the code structure is not integrated at all with current
> code in Toaster, Bitbake, or oe-selftest framework. It doesn't fit in.
>
> Unit tests that validate individual Toaster features and bug fixes are
> to be implemented in Django unit test framework, and live inside
> Bitbake.
I agree they don't belong alongside the existing tests, we could put
them in a contrib style directory though (I'm open to suggestions) and
document that there are certain dependencies needed to use them?
Cheers,
Richard
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: toaster automated testing
2015-05-08 16:32 ` Richard Purdie
@ 2015-05-08 16:41 ` Damian, Alexandru
0 siblings, 0 replies; 5+ messages in thread
From: Damian, Alexandru @ 2015-05-08 16:41 UTC (permalink / raw)
To: Richard Purdie; +Cc: toaster@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 1310 bytes --]
On Fri, May 8, 2015 at 5:32 PM, Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:
> On Fri, 2015-05-08 at 15:21 +0100, Damian, Alexandru wrote:
> > My thinking is that unit tests, that are to be run inside the django
> > application, should be in bitbake.
> >
> > These tests are integration and smoke tests, with a long list of
> > dependencies (selenium, browsers, w3c-validator, various other tools)
> > and I wouldn't want to bring these dependencies into Bitbake.
> > Furthermore, the code structure is not integrated at all with current
> > code in Toaster, Bitbake, or oe-selftest framework. It doesn't fit in.
> >
> > Unit tests that validate individual Toaster features and bug fixes are
> > to be implemented in Django unit test framework, and live inside
> > Bitbake.
>
>
> I agree they don't belong alongside the existing tests, we could put
> them in a contrib style directory though (I'm open to suggestions) and
> document that there are certain dependencies needed to use them?
>
>
Yep, this is do-able - they will have no relationship at code level with
existing infrastructure though; separate requirements.txt and README will
be provided to guide usage. Is this ok?
> Cheers,
>
> Richard
>
>
--
Alex Damian
Yocto Project
SSG / OTC
[-- Attachment #2: Type: text/html, Size: 2139 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-05-08 16:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-08 13:47 toaster automated testing Damian, Alexandru
2015-05-08 13:52 ` Richard Purdie
2015-05-08 14:21 ` Damian, Alexandru
2015-05-08 16:32 ` Richard Purdie
2015-05-08 16:41 ` Damian, Alexandru
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.