You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(14) |
Oct
(22) |
Nov
(21) |
Dec
(7) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(4) |
Feb
(26) |
Mar
(62) |
Apr
(60) |
May
(73) |
Jun
(41) |
Jul
(64) |
Aug
(39) |
Sep
(19) |
Oct
(18) |
Nov
(55) |
Dec
(24) |
| 2005 |
Jan
(35) |
Feb
(122) |
Mar
(130) |
Apr
(62) |
May
(57) |
Jun
(103) |
Jul
(71) |
Aug
(142) |
Sep
(67) |
Oct
(27) |
Nov
(49) |
Dec
(56) |
| 2006 |
Jan
(42) |
Feb
(65) |
Mar
(30) |
Apr
(43) |
May
(13) |
Jun
(25) |
Jul
(5) |
Aug
(14) |
Sep
(18) |
Oct
(55) |
Nov
(126) |
Dec
(82) |
| 2007 |
Jan
(83) |
Feb
(83) |
Mar
(173) |
Apr
(30) |
May
(64) |
Jun
(156) |
Jul
(50) |
Aug
(29) |
Sep
(25) |
Oct
(26) |
Nov
(51) |
Dec
(9) |
| 2008 |
Jan
(36) |
Feb
(71) |
Mar
(93) |
Apr
(123) |
May
(34) |
Jun
(14) |
Jul
(21) |
Aug
(26) |
Sep
(49) |
Oct
(38) |
Nov
(19) |
Dec
(46) |
| 2009 |
Jan
(18) |
Feb
(16) |
Mar
(46) |
Apr
(4) |
May
(18) |
Jun
(9) |
Jul
(11) |
Aug
(4) |
Sep
(31) |
Oct
(19) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(15) |
Feb
(9) |
Mar
|
Apr
(20) |
May
(5) |
Jun
(8) |
Jul
(2) |
Aug
(9) |
Sep
(6) |
Oct
(21) |
Nov
(20) |
Dec
(11) |
| 2011 |
Jan
(11) |
Feb
(5) |
Mar
(6) |
Apr
(1) |
May
(12) |
Jun
(4) |
Jul
(1) |
Aug
(3) |
Sep
(4) |
Oct
(3) |
Nov
(3) |
Dec
(5) |
| 2012 |
Jan
(28) |
Feb
(7) |
Mar
(3) |
Apr
|
May
(5) |
Jun
(6) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(4) |
Nov
(5) |
Dec
(4) |
| 2013 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(7) |
Dec
|
| 2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
| 2016 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
(4) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
(3) |
Oct
|
Nov
(1) |
Dec
|
| 2017 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Culley H. <cu...@fl...> - 2004-04-07 23:58:56
|
It looks like WebTestCase is a decendant of SimpleTestCase which has
assertTrue. You can get a lot done with assertTrue but why not have
things like assertEqual and assertNotNull available in WebTestCase?
It might also be interesting to be able to extract data from the
patterns matched:
$this->assertWantedPattern('/Order Number:\s(\d+)-(\d+)/', $matches);
where $matches would be loaded with data matched in the sub-patterns
(preg_match style). I haven't needed this but I could see how it might
be useful.
culley
|
|
From: Culley H. <cu...@fl...> - 2004-04-07 21:40:02
|
I am once again hitting the problem of a webtest not following the
redirect after form submission. Here is a working example:
$this->get('http://mudhut.org/test_form.php');
$this->assertField('blah', '');
$this->setField('blah', 'jabberwokky');
$this->clickSubmit('Submit Query');
$this->showSource();
$this->assertWantedPattern('/jabberwokky/');
All test_form.php is doing is:
<?php
if (array_key_exists('blah', $_POST)) {
header("Location: results.php?blah={$_POST['blah']}");
exit;
}
?>
And results.php:
<?php
print_r($_GET);
?>
|
|
From: Marcus B. <ma...@la...> - 2004-04-07 19:32:18
|
Hi... Thomas Purdy wrote: > I was wondering if beta 4 of simpletest has a command line interface. I > saw that one has been written but is it just in beta5? Thanks Yes. Nothing really changed with this from Beta4 to Beta5. There is also a ShellTestCase for testing scripts that run on the command line, but that is decidedly experimental and needs cleaning up with the newer streams interface. yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Thomas P. <tp...@in...> - 2004-04-07 19:10:34
|
I was wondering if beta 4 of simpletest has a command line interface. I saw that one has been written but is it just in beta5? Thanks Thomas Purdy |
|
From: Jason S. <jsw...@ya...> - 2004-04-06 21:48:41
|
--- Marcus Baker <ma...@la...> wrote: > Hi... > > Jason Sweat wrote: > > to be consistent with the HtmlReporter, should the TextReport show a pass > count > > as well? > > > > If no one objects, I will commit it sometime in the next couple of days. > > I was trying to be compatible with JUnit originally, but I agree it is > rather confusing. Go ahead. Done __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ |
|
From: Jason S. <jsw...@ya...> - 2004-04-06 19:54:37
|
Here is the problem:
<a
href="/framework/frameset.jsp?centerName=Personal+Center&mainUrl=%2Fpersonal%2Findex.jsp%3FmenuId%3D4001"
target="_top" title="Personal Center" ><img src="/images/menu-hdpers.gif"
alt="Personal Center" ></a>
Here is what I want to do:
$this->clickLink('Personal Center');
Here is what is working now:
$this->clickLink(
'<img src="/images/menu-hdpers.gif" alt="Personal Center" >');
So here is my thought: can "clickLink"s also be indexed by the alt/title
attributes of any images inside of the anchor tag?
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
|
|
From: Jason S. <jsw...@ya...> - 2004-04-06 15:19:11
|
to be consistent with the HtmlReporter, should the TextReport show a pass count
as well?
If no one objects, I will commit it sometime in the next couple of days.
example:
OK
Test cases run: 1/1, Passes: 13, Failures: 0, Exceptions: 0
$ cvs diff reporter.php
Index: reporter.php
===================================================================
RCS file: /cvsroot/simpletest/simpletest/reporter.php,v
retrieving revision 1.23
diff -c -r1.23 reporter.php
*** reporter.php 6 Apr 2004 03:29:04 -0000 1.23
--- reporter.php 6 Apr 2004 15:04:36 -0000
***************
*** 182,187 ****
--- 182,188 ----
}
print "Test cases run: " . $this->getTestCaseProgress() .
"/" . $this->getTestCaseCount() .
+ ", Passes: " . $this->getPassCount() .
", Failures: " . $this->getFailCount() .
", Exceptions: " . $this->getExceptionCount() . "\n";
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
|
|
From: Jason S. <jsw...@ya...> - 2004-04-06 03:47:18
|
Just a quick note to everyone that I checked into CVS a version of the
WebTestCase class that supports SSL connections. For this to work, you will
need php 4.3.0 or greater, and openssl compiled in.
To use, just put https as the url scheme:
class TestSsl extends WebTestCase
{
function TestSsl($name='') {
$this->WebTestCase($name);
}
function TestFetch() {
$this->assertTrue($this->get('https://www.some.secure.site/'));
}
}
Please let me know if you experience any issues with it.
Regards,
Jason
__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/
|
|
From: Marcus B. <ma...@la...> - 2004-03-31 20:49:04
|
Hi... Jason Sweat wrote: > --- Marcus Baker <ma...@la...> wrote: > That worked for http: but https: did not work on the php 4.3.0 system I was > testing on. Will look at it on php 5.0.0RC1 shortly. It probably won't. I just read the bit in the PHP manual where it said stick "tls:" at the start of the host in the socket request :/. I have never tested it. I have wrapped everything in a class called SimpleSecureSocket in the socket.php file. Basically if you can get this class working, with CURL or something, then you are doing better than me :). yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Jason S. <jsw...@ya...> - 2004-03-31 20:36:40
|
--- Marcus Baker <ma...@la...> wrote: > Jason Sweat wrote: > > require_once(LIB_SIMPLETEST . 'web_tester.php'); > > require_once(LIB_SIMPLETEST . 'reporter.php'); > > Can you change this to just SIMPLE_TEST as this is the constant it uses > internally to find it's files. > That worked for http: but https: did not work on the php 4.3.0 system I was testing on. Will look at it on php 5.0.0RC1 shortly. __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
|
From: Marcus B. <ma...@la...> - 2004-03-31 19:18:25
|
Hi... Some additional info. If I take off the https and make it http, it fetches a page. yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Marcus B. <ma...@la...> - 2004-03-31 19:12:46
|
Hi... Dave Montgomery wrote: > Thanks for writing SimpleTest and making it freely available. It's very > helpful, well thought out, easy to use, and kicks some serious ass all > around. Well thanks very much from myself, Harry and Jason. >I can hardly wait for the next release (HTTP auth will be very > helpful). It's out. > Dave Montgomery yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Marcus B. <ma...@la...> - 2004-03-31 19:06:26
|
Jason Sweat wrote: > require_once(LIB_SIMPLETEST . 'web_tester.php'); > require_once(LIB_SIMPLETEST . 'reporter.php'); Can you change this to just SIMPLE_TEST as this is the constant it uses internally to find it's files. > > Fatal error: Call to undefined function: getcontent() in > /home/sweatje/public_html/simpletest/web_tester.php on line 45 With the change of constant I get (in a browser)... testalcoadirect Fail: testhomepage->True assertion got False simplebrowser 1/1 test cases complete: 0 passes, 1 fails and 0 exceptions. > > Something easy I am missing?? I could fetch the site with other tools to get > the source code, but I thought I would just try to do it all inside of php. It should work - must be the constant. yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Jason S. <jsw...@ya...> - 2004-03-31 17:37:10
|
define('LIB_SIMPLETEST','../simpletest/');
define('AD', 'https://www.alcoadirect.com/');
require_once(LIB_SIMPLETEST . 'web_tester.php');
require_once(LIB_SIMPLETEST . 'reporter.php');
class TestAlcoaDirect extends WebTestCase
{
function TestAlcoaDirect($psName='') {
$this->WebTestCase($psName);
}
function testHomepage() {
$this->assertTrue($this->get(AD));
$this->dump(get_class($browser =& $this->GetBrowser()));
$this->showSource();
}
}
$test = &new TestAlcoaDirect();
if (TextReporter::inCli()) {
exit ($test->run(new TextReporter()) ? 0 : 1);
}
$test->run(new HtmlReporter());
Script Output:
testalcoadirect
simplebrowser
Fatal error: Call to undefined function: getcontent() in
/home/sweatje/public_html/simpletest/web_tester.php on line 45
Something easy I am missing?? I could fetch the site with other tools to get
the source code, but I thought I would just try to do it all inside of php.
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
|
|
From: Jason S. <jsw...@ya...> - 2004-03-31 15:22:27
|
--- Culley Harrelson <cu...@fa...> wrote: > > On Mar 31, 2004, at 6:22 AM, Marcus Baker wrote: > > > > > Anyone know how it's encoded? SimleTest could accept encoded URLs > > pretty easily and I wouldn't have to change the parsing. > > > > Culley: Does the URL work on a web browser? I keep finding that > > browsers do things that the standard doesn't, for example short form > > redirects. > > > > Firefox (win, mac) will do the encoding and handle it but IE, Safari, > wget and curl will not. Once you encode it manually IE (win, mac), > Safari, wget and curl will also will handle it. w3m just ignores the > user name:password and prompts you. > h > %40 = @ > > culley IIRC, on of IE's "security patches" recently was to disallow the encoding of @ because of "url cloaking" i.e. http://www.microsoft.com:?looks/like/a/pag...@ba.../do/nasty/things __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
|
From: Culley H. <cu...@fa...> - 2004-03-31 14:57:42
|
On Mar 31, 2004, at 6:22 AM, Marcus Baker wrote: > > Anyone know how it's encoded? SimleTest could accept encoded URLs > pretty easily and I wouldn't have to change the parsing. > > Culley: Does the URL work on a web browser? I keep finding that > browsers do things that the standard doesn't, for example short form > redirects. > Firefox (win, mac) will do the encoding and handle it but IE, Safari, wget and curl will not. Once you encode it manually IE (win, mac), Safari, wget and curl will also will handle it. w3m just ignores the user name:password and prompts you. %40 = @ culley |
|
From: Jason S. <jsw...@ya...> - 2004-03-31 14:27:28
|
--- Marcus Baker <ma...@la...> wrote: > Jason Sweat wrote: > > I can't run the boundary test suite because I am behind a firewall which > > requires a proxy server for port 80 outbound. Is there a way to configure > it > > such that I can seamlessly use a proxy with these tests? > > Ouch. I have a kind of private rule that if two people ask for a feature > I should put it in. A couple of days ago someone else asked for proxy > support as well. > > I want to get a version 1.0 out and I need frames myself. If more people > want proxy support I could drop frames support or delay the relese by a > week. Perhaps this request actually belongs outside of SimpleTest. Wondering if I need to setup a Transparent Proxy? http://en.tldp.org/HOWTO/TransparentProxy.html __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
|
From: Marcus B. <ma...@la...> - 2004-03-31 14:22:22
|
Hi... Jason Sweat wrote: >If the character corresponding to an octet is > reserved in a scheme, the octet must be encoded. Anyone know how it's encoded? SimleTest could accept encoded URLs pretty easily and I wouldn't have to change the parsing. Culley: Does the URL work on a web browser? I keep finding that browsers do things that the standard doesn't, for example short form redirects. yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Marcus B. <ma...@la...> - 2004-03-31 14:18:32
|
Hi... Jason Sweat wrote: > I can't run the boundary test suite because I am behind a firewall which > requires a proxy server for port 80 outbound. Is there a way to configure it > such that I can seamlessly use a proxy with these tests? Ouch. I have a kind of private rule that if two people ask for a feature I should put it in. A couple of days ago someone else asked for proxy support as well. I want to get a version 1.0 out and I need frames myself. If more people want proxy support I could drop frames support or delay the relese by a week. yours, Marcus -- Marcus Baker, ma...@la..., no...@ap... |
|
From: Jason S. <jsw...@ya...> - 2004-03-31 14:01:12
|
--- Marcus Baker <ma...@la...> wrote:> > The other main fixes are with PHP5. I haven't been able to get XML > support working properly, so this side of things may not work at all. > Sorry, but I just couldn't test it. Also completely untested is SSL > support so please don't play with matches and definitely don't use these > features. I haven't tested this one Windows either as that box got wiped > so that I could place PHP5 on Linux. Please someone tell me if there are > any problems on this environment or any other. I have run the unit_tests on my php5 system with no problems: Unit tests 68/68 test cases complete: 1297 passes, 0 fails and 0 exceptions. PHP Version 5.0.0RC1 System Linux prdweb 2.6.3-gentoo-r1 #1 Wed Mar 24 02:02:30 CST 2004 i686 I can't run the boundary test suite because I am behind a firewall which requires a proxy server for port 80 outbound. Is there a way to configure it such that I can seamlessly use a proxy with these tests? __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
|
From: Jason S. <jsw...@ya...> - 2004-03-31 13:53:49
|
--- Culley Harrelson <cu...@fa...> wrote: > > On Mar 30, 2004, at 7:50 PM, Jason Sweat wrote: > > > What you are constructing is not a valid URL. From the RFC > > (http://www.ietf.org/rfc/rfc1738.txt): > > SimpleUrl allows you to embed the user name and password dsn style... As does the RFC for any URL, however, if you are going to include tokens that are part of the parsing structure in inappropriate spots, how will any system have a hope of correctly interpreting what you want? You need to URL encode the "@" that is a part of your data, and not URL encode the @ that is part of the URL. __________________________________ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html |
|
From: Culley H. <cu...@fa...> - 2004-03-31 13:49:38
|
On Mar 30, 2004, at 7:50 PM, Jason Sweat wrote: > What you are constructing is not a valid URL. From the RFC > (http://www.ietf.org/rfc/rfc1738.txt): SimpleUrl allows you to embed the user name and password dsn style... culley |
|
From: Jason S. <jsw...@ya...> - 2004-03-31 03:50:36
|
--- Culley Harrelson <cu...@fa...> wrote:
> Something like:
>
> $this->get('http://me@example.com:sec...@ad.../
> ');
>
> Must be that extra @...
What you are constructing is not a valid URL. From the RFC
(http://www.ietf.org/rfc/rfc1738.txt):
Reserved:
Many URL schemes reserve certain characters for a special meaning:
their appearance in the scheme-specific part of the URL has a
designated semantics. If the character corresponding to an octet is
reserved in a scheme, the octet must be encoded. The characters ";",
"/", "?", ":", "@", "=" and "&" are the characters which may be
reserved for special meaning within a scheme. No other characters may
be reserved within a scheme.
...
Thus, only alphanumerics, the special characters "$-_.+!*'(),", and
reserved characters used for their reserved purposes may be used
unencoded within a URL.
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
|
|
From: Marcus B. <ma...@la...> - 2004-03-31 01:53:25
|
Hi...
Culley Harrelson wrote:
> $this->get('http://me@example.com:sec...@ad.../ ');
>
> Must be that extra @...
It is. I guess that's why I am still in beta ;).
I'll have a play with various web browsers to see how they deal with it.
The problem is going to be URLs like...
http://me@example.com:se...@ad.../?a=...@ex...
...without wrecking the short form parsing. Looks like the SimpleUrl
class is going to get more complicated. Thanks for pointing this out,
anyway. This information is definitely valuable.
>
> culley
yours, Marcus
--
Marcus Baker, ma...@la..., no...@ap...
|
|
From: Culley H. <cu...@fa...> - 2004-03-31 01:39:24
|
On Mar 30, 2004, at 5:20 PM, Marcus Baker wrote:
>
> Fantastic! I have released it all but 30 seconds ago and you have
> reduced it to a train wreck :).
>
Glad I could... help :)
> I am afraid I just didn't think of that one. Could you post a sample
> URL with the mangled characters in. I am not exactly sure of the
> parsing rules to cope with this (frankly I didn't even know it was
> legal). I assume if you use the authenticate() method all is OK.
>
Something like:
$this->get('http://me@example.com:sec...@ad.../
');
Must be that extra @...
culley
|