<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.php.simpletest.general">
    <title>gmane.comp.php.simpletest.general</title>
    <link>http://blog.gmane.org/gmane.comp.php.simpletest.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2810"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2809"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2808"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2807"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2806"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2805"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2804"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2803"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2802"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2801"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2800"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2799"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2798"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2797"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2796"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2795"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2794"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2793"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2792"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2791"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2810">
    <title>Re: Code coverage</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2810</link>
    <description>&lt;3 Code coverage in Simpletest

-----Ursprüngliche Nachricht-----
Von: Douglas Hubler [mailto:dhubler-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org] 
Gesendet: Sonntag, 5. Oktober 2008 03:42
An: simpletest-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
Betreff: Re: [Simpletest-support] Code coverage

tarjei &lt;tarjei&lt; at &gt;...&gt; writes:

simpletest?

I had some luck with this
 http://developer.spikesource.com/projects/phpcoverage/

The xmlrpc solution to combine coverage results did not perform well on the
scale of tests I needed so a colleague of mine started a rewrite and I
finished
it.
 http://acquia.com/blog/drupal-cli-utils

Sample results
 http://acquia.com/files/test-results/index.html

Don't worry, it's not only for drupal.  

I would like to create an official project somewhere and link to it from
simpletest's website as a part of a php test solution.  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
_______________________________________________
Simpletest-support mailing list
Simpletest-support-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f&lt; at &gt;public.gmane.org
https://lists.sourceforge.net/lists/listinfo/simpletest-support


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Sebastian Schürmann</dc:creator>
    <dc:date>2008-10-06T06:40:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2809">
    <title>Re: Code coverage</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2809</link>
    <description>Hi...

Douglas Hubler wrote:

We can easily link to it from simpletest.org. What state is the project
in right now? I am looking to bundle a code coverage solution as long as
it passes the "it just works" test. I am happy to modify the SimpleTest
core to accommodate it.

yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-10-05T18:41:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2808">
    <title>Re: Code coverage</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2808</link>
    <description>

I had some luck with this
 http://developer.spikesource.com/projects/phpcoverage/

The xmlrpc solution to combine coverage results did not perform well on the
scale of tests I needed so a colleague of mine started a rewrite and I finished
it.
 http://acquia.com/blog/drupal-cli-utils

Sample results
 http://acquia.com/files/test-results/index.html

Don't worry, it's not only for drupal.  

I would like to create an official project somewhere and link to it from
simpletest's website as a part of a php test solution.  


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Douglas Hubler</dc:creator>
    <dc:date>2008-10-05T01:42:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2807">
    <title>Re: Code coverage</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2807</link>
    <description>I'm pretty certain there is no coverage data being collected.

</description>
    <dc:creator>Elijah Insua</dc:creator>
    <dc:date>2008-10-05T04:06:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2806">
    <title>Code coverage</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2806</link>
    <description>-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, does anyone have any tips on how to get coverage data out of simpletest?
Tarjei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI5dlmYVRKCnSvzfIRAqKQAJ4knchkPUS69GSzPOoStNbScKUwUwCgsv0G
bH5HR337pS963RzkzmeAzMQ=
=n6sh
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>tarjei</dc:creator>
    <dc:date>2008-10-03T08:35:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2805">
    <title>simpletest.org vs. htmlspecialchars</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2805</link>
    <description>Hi,

Currently, all documentation on simpletest.org is double-encoded, so
-&gt; becomes -&amp;gt; thereby making the code samples rather unreadable.

--
troels

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>troels knak-nielsen</dc:creator>
    <dc:date>2008-10-04T14:38:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2804">
    <title>Re: MultipleExpectation</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2804</link>
    <description>Hi...

Travis Swicegood wrote:

I thought that might be what you want.

How about these names...?

new AnyExpectationOf($expectation, ...)
new AllExpectationsOf($expectation, ...)

They are not really decorators, and not really composites either.


That's a good argument for not adding them, although I have no 
objection other than a desire to keep the code base small. Can you 
wait for a second request for this feature?


yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-10-03T17:40:47</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2803">
    <title>Re: MultipleExpectation</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2803</link>
    <description>Howdy all...

On Oct 2, 2008, at 8:08 PM, Marcus Baker wrote:


Writing custom assertions with complex logic while still re-using  
existing expectation classes.  There's actually two here I think:

AnyExpectationDecorator &lt;-- any pass, this passes
AllExpectationDecorator &lt;-- all must pass

That said, I could probably write a custom expectation that could  
handle this case just as easily.

-T

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Travis Swicegood</dc:creator>
    <dc:date>2008-10-03T14:39:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2802">
    <title>Re: MultipleExpectation</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2802</link>
    <description>Hi...

Travis Swicegood wrote:

Curious. What do you want it for?


yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-10-03T01:08:36</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2801">
    <title>MultipleExpectation</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2801</link>
    <description>Hey all...

Is there a reason we don't ship with a MultipleException decorator  
that takes N expectations and passes if they all pass?

-T

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Travis Swicegood</dc:creator>
    <dc:date>2008-10-02T22:10:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2800">
    <title>Re: twist testing</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2800</link>
    <description>Hi...

Mark Rickerby wrote:

:)

If it wasn't for those damn kids. Of all the projects put on hold,
arbiter was my favourite.

yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-09-30T10:25:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2799">
    <title>twist testing</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2799</link>
    <description>http://studios.thoughtworks.com/twist-agile-test-automation/writing-tests

*cough*... arbiter ...

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Mark Rickerby</dc:creator>
    <dc:date>2008-09-30T07:20:14</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2798">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2798</link>
    <description>Hi...

Claude Paroz wrote:

It absolutely should be. It's been a long standing omission. Once we get
past a current run of drudge getting the 1.1 version ship shape, we can
get back to ading features.


No problem.


yours, Marcus
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-09-27T15:11:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2797">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2797</link>
    <description>Le vendredi 26 septembre 2008 à 19:41 +0100, Marcus Baker a écrit :

Thanks, that did the trick! The "Referer" header was mandatory (at least
for this server). Adding a this-&gt;addHeader('Referer: &lt;page.html&gt;');
solved my problem.
It might by something to add by default in all submit requests in
SimpleTest.

Many thanks for the support.

Claude



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
_______________________________________________
Simpletest-support mailing list
Simpletest-support&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simpletest-support
</description>
    <dc:creator>Claude Paroz</dc:creator>
    <dc:date>2008-09-27T12:47:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2796">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2796</link>
    <description>Hi...

Claude Paroz wrote:

You might be able to configure it in the browser.

In the meantime try using addHeader() in SimpleTest to replicate the 
request exactly, especially referrer and accept headers.


yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-09-26T18:41:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2795">
    <title>Re: [Simpletest-devel] Expired cookies beingsent with requests</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2795</link>
    <description>Hey Taras;

Most of the development talk goes on on the simpletest-support mailing  
list.  I've CC'd that list on this response, so everyone over there  
can see this as well.

-T


On Sep 26, 2008, at 4:50 AM, Taras Diakiw wrote:



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Travis Swicegood</dc:creator>
    <dc:date>2008-09-26T18:05:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2794">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2794</link>
    <description>Le vendredi 26 septembre 2008 à 17:03 +0100, Marcus Baker a écrit :

Yes, that's also what I'm getting.


Here is a valid request captured through Firefox Live HTTP headers :

POST /bibles/demande.php HTTP/1.1
Host: www.bibles.ch
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.0.3)
Gecko/2008092510 Ubuntu/8.04 (hardy) Firefox/3.0.3 Ubuntu
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: fr-ch,fr-fr;q=0.8,en-us;q=0.6,en;q=0.4,de-ch;q=0.2
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.bibles.ch/bibles/52_suisse.htm
Content-Type: application/x-www-form-urlencoded
Content-Length: 154
bibleform=suisse&amp;Reactions=Test&amp;Bible=OUI&amp;Prenom=Claude&amp;Nom=Paroz&amp;Adresse=test&amp;Codepostal=1234&amp;Ville=Test&amp;Pays=Suisse&amp;email=test%40test.ch&amp;Envoyer=Envoyer



I don't know. I have very few control on the host environment. Is
SimpleTest able to send HTTP 1.1 requests?

Claude



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
_______________________________________________
Simpletest-support mailing list
Simpletest-support&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simpletest-support
</description>
    <dc:creator>Claude Paroz</dc:creator>
    <dc:date>2008-09-26T16:18:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2793">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2793</link>
    <description>Hi...

Claude Paroz wrote:

I get this page...

--------
&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&gt;
&lt;HTML&gt;&lt;HEAD&gt;
&lt;TITLE&gt;403 Forbidden&lt;/TITLE&gt;
&lt;/HEAD&gt;&lt;BODY&gt;
&lt;H1&gt;Forbidden&lt;/H1&gt;
You don't have permission to access /bibles/demande.php
on this server.&lt;P&gt;
&lt;/BODY&gt;&lt;/HTML&gt;
--------

That is, your own page is saying it's a request to 
"/bibles/demande.php", so it's not a URL parsing problem.

Here is the request:

--------
POST /bibles/demande.php HTTP/1.0
Host: www.bibles.ch
Connection: close
Content-Length: 194
Content-Type: application/x-www-form-urlencoded

bibleform=suisse&amp;Reactions=Test+demande&amp;Bible=OUI&amp;Prenom=Test+pr%C3%A9nom&amp;Nom=Test+nom&amp;Adresse=Test+adresse&amp;Codepostal=Test+CP&amp;Ville=Test+ville&amp;Pays=Suisse&amp;email=test%40email.com&amp;Envoyer=Envoyer
--------

Is this post request correct? What do you get if you use wireshark 
with a successful browser request? Does your host accept HTTP 1.0 
requests for example?


yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-09-26T16:03:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2792">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2792</link>
    <description>Le mercredi 24 septembre 2008 à 11:33 +0100, Marcus Baker a écrit :

class testDemandes extends WebTestCase {
    
    function setUp() {
        $this-&gt;get('http://www.bibles.ch/bibles/52_suisse.htm');
    }
    
    function testDemandeSuisse() {
        $this-&gt;assertPattern('/Notre association offre gratuitement une
Bible/');
        # Fill in form
        $this-&gt;setField('Reactions', 'Test demande');
        $this-&gt;setField('Prenom', 'Test prénom');
        $this-&gt;setField('Nom', 'Test nom');
        $this-&gt;setField('Adresse', 'Test adresse');
        $this-&gt;setField('Codepostal', 'Test CP');
        $this-&gt;setField('Ville', 'Test ville');
        $this-&gt;setField('email', 'test&lt; at &gt;email.com');
        $this-&gt;clickSubmit('Envoyer');
        /* Debugging purpose */
        /*$this-&gt;showRequest();
        $this-&gt;showHeaders(); */
        $this-&gt;assertPattern('/Votre demande a bien été enregistrée,
merci/');
    }
    
    function testDemandeSansFormulaire() {
        $this-&gt;get('http://www.bibles.ch/bibles/demande.php');
        $this-&gt;assertPattern('/Erreur: pas de données de formulaire/');
    }
}


I already tried to set an absolute URL in the action form property, with
no luck.

Claude


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
_______________________________________________
Simpletest-support mailing list
Simpletest-support&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/simpletest-support
</description>
    <dc:creator>Claude Paroz</dc:creator>
    <dc:date>2008-09-24T19:45:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2791">
    <title>Re: Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2791</link>
    <description>Hi...

Claude Paroz wrote:

It should already be doing this. Can you post the full test method?

Of course you could also set the base URL in the page, but that 
would involve modifying the page to get the test to work - which is 
a no-no :(.


yours, Marcus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Marcus Baker</dc:creator>
    <dc:date>2008-09-24T10:33:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.php.simpletest.general/2790">
    <title>Web form submitting</title>
    <link>http://permalink.gmane.org/gmane.comp.php.simpletest.general/2790</link>
    <description>Hi,

I'm probably missing something very obvious, but I can't figure it out.
I'm testing a Web form with SimpleTest (the form currently works well on
the Web), and when I do a $this-&gt;clickSubmit('Envoyer');, I'm getting a
"403 Forbidden" error (You don't have permission to
access /folder/file.php on this server).

That's strange, because if I do a simple get() with the same destination
as the form action URL, I'm getting the page (with an error in the page
content because there is no form data, of course).

I'm suspecting the problem is with the interpretation of the root (/) on
the server. Is it possible to tell SimpleTest to prefix all URLs with
the absolute path, including the domain name?

Claude



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Claude Paroz</dc:creator>
    <dc:date>2008-09-23T18:58:48</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.php.simpletest.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.php.simpletest.general</link>
  </textinput>
</rdf:RDF>
