You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(39) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(20) |
Feb
(8) |
Mar
(22) |
Apr
(14) |
May
(48) |
Jun
(29) |
Jul
(48) |
Aug
(5) |
Sep
(13) |
Oct
(5) |
Nov
(28) |
Dec
(42) |
| 2008 |
Jan
(32) |
Feb
(39) |
Mar
(60) |
Apr
(117) |
May
(9) |
Jun
(35) |
Jul
(1) |
Aug
(11) |
Sep
(38) |
Oct
(26) |
Nov
(7) |
Dec
(65) |
| 2009 |
Jan
(30) |
Feb
(22) |
Mar
(9) |
Apr
(5) |
May
(10) |
Jun
(13) |
Jul
(60) |
Aug
(9) |
Sep
(24) |
Oct
(20) |
Nov
(20) |
Dec
(28) |
| 2010 |
Jan
|
Feb
|
Mar
(11) |
Apr
(19) |
May
(7) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(8) |
Dec
(4) |
| 2011 |
Jan
|
Feb
(1) |
Mar
(3) |
Apr
(22) |
May
(7) |
Jun
(20) |
Jul
(6) |
Aug
(4) |
Sep
|
Oct
(1) |
Nov
(13) |
Dec
(4) |
| 2012 |
Jan
(14) |
Feb
|
Mar
(4) |
Apr
(14) |
May
(3) |
Jun
(4) |
Jul
(3) |
Aug
(1) |
Sep
(2) |
Oct
(4) |
Nov
(5) |
Dec
(2) |
| 2013 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|
From: <pp...@us...> - 2011-04-28 08:57:31
|
Revision: 2009
http://simpletest.svn.sourceforge.net/simpletest/?rev=2009&view=rev
Author: pp11
Date: 2011-04-28 08:57:25 +0000 (Thu, 28 Apr 2011)
Log Message:
-----------
Changing assertIsA to user is_*() instead of gettype() (bug report 2798170)
Modified Paths:
--------------
simpletest/trunk/expectation.php
simpletest/trunk/test/expectation_test.php
Modified: simpletest/trunk/expectation.php
===================================================================
--- simpletest/trunk/expectation.php 2011-04-27 12:03:33 UTC (rev 2008)
+++ simpletest/trunk/expectation.php 2011-04-28 08:57:25 UTC (rev 2009)
@@ -770,23 +770,23 @@
if (is_object($compare)) {
return SimpleTestCompatibility::isA($compare, $this->type);
} else {
- return (strtolower(gettype($compare)) == $this->canonicalType($this->type));
+ $function = 'is_'.$this->canonicalType($this->type);
+ if (is_callable($function)) {
+ return $function($compare);
+ }
+ return false;
}
}
/**
- * Coerces type name into a gettype() match.
+ * Coerces type name into a is_*() match.
* @param string $type User type.
* @return string Simpler type.
* @access private
*/
protected function canonicalType($type) {
$type = strtolower($type);
- $map = array(
- 'bool' => 'boolean',
- 'float' => 'double',
- 'real' => 'double',
- 'int' => 'integer');
+ $map = array('boolean' => 'bool');
if (isset($map[$type])) {
$type = $map[$type];
}
Modified: simpletest/trunk/test/expectation_test.php
===================================================================
--- simpletest/trunk/test/expectation_test.php 2011-04-27 12:03:33 UTC (rev 2008)
+++ simpletest/trunk/test/expectation_test.php 2011-04-28 08:57:25 UTC (rev 2009)
@@ -286,6 +286,24 @@
$this->assertTrue($expectation->test(5));
$this->assertFalse($expectation->test(5.0));
}
+
+ function testScalar() {
+ $expectation = new IsAExpectation('scalar');
+ $this->assertTrue($expectation->test(5));
+ $this->assertFalse($expectation->test(array(5)));
+ }
+
+ function testNumeric() {
+ $expectation = new IsAExpectation('numeric');
+ $this->assertTrue($expectation->test(5));
+ $this->assertFalse($expectation->test('string'));
+ }
+
+ function testNull() {
+ $expectation = new IsAExpectation('null');
+ $this->assertTrue($expectation->test(null));
+ $this->assertFalse($expectation->test('string'));
+ }
}
class TestOfNotA extends UnitTestCase {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2011-04-27 16:29:05
|
Bugs item #2991521, was opened at 2010-04-23 21:24 Message generated for change (Comment added) made by pp11 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=2991521&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None >Status: Closed >Resolution: Rejected Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) >Assigned to: Perrick Penet (pp11) Summary: Creating mock objects - code example inconsistency Initial Comment: Creating mock objects - inconsistency between code example and explanatory text below it On documentation at: http://www.simpletest.org/en/mock_objects_documentation.html re: Code example: ... class MyTestCase extends UnitTestCase { function testSomething() { $connection = &new MockDatabaseConnection(); } } ... Either * the code example should pass a reference to the test object upon instantiation of the mock object: $connection = &new MockDatabaseConnection($this); or * the explanatory paragraph below should not say "the mock constructor needs a reference to the test case" ---------------------------------------------------------------------- >Comment By: Perrick Penet (pp11) Date: 2011-04-27 18:29 Message: The documentation has been rewritten : your bug report doesn't apply anymore ! So I'll have to close and reject your item. Thanks for taking the time to report it anyway. Yours, ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=2991521&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2011-04-27 13:03:59
|
Bugs item #3101613, was opened at 2010-11-02 15:08 Message generated for change (Comment added) made by pp11 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101613&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Unit test framework Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: https://www.google.com/accounts () >Assigned to: Perrick Penet (pp11) Summary: 1.1alpha package is missing "arguments.php" Initial Comment: 1.1alpha package is shipped without "arguments.php" file while this file is required by "reporter.php" ---------------------------------------------------------------------- >Comment By: Perrick Penet (pp11) Date: 2011-04-27 15:03 Message: Version simpletest 1.1 alpha 2 came out within the next 24 hours. It's fixed now ! Sorry for the early release. Yours... ---------------------------------------------------------------------- Comment By: transkontrol () Date: 2010-11-03 06:05 Message: This bug duplicate for https://sourceforge.net/tracker/?func=detail&aid=3100649&group_id=76550&atid=547455 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101613&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2011-04-27 12:38:08
|
Bugs item #3264766, was opened at 2011-03-31 19:27 Message generated for change (Settings changed) made by pp11 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3264766&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: yuvilio (yuvilio) >Assigned to: Perrick Penet (pp11) Summary: Remove GroupTest from documentation Initial Comment: The tutorial on the SimpleTest site still GroupTest uses http://www.simpletest.org/en/group_test_tutorial.html which has been replaced with TestSuite ( see https://github.com/lox/simpletest/blob/master/HELP_MY_TESTS_DONT_WORK_ANYMORE) . This may be confusing to others getting started with it. You may want to update the documentation. It may be worthwhile to stick it into a wiki or some other user editable form rather than bothering the developer with bugs. Great tool! ---------------------------------------------------------------------- >Comment By: Perrick Penet (pp11) Date: 2011-04-27 14:38 Message: The new documentation was ready : it's been now online ! Thanks for taking the time to report the documentation bug. Yours, Perrick ---------------------------------------------------------------------- Comment By: yuvilio (yuvilio) Date: 2011-04-01 18:11 Message: another example is that the documentation seems to still perfer deprecated methods . For example: In http://www.simpletest.org/en/mock_objects_documentation.html: setReturnValueAt instead of returnsByValueAt ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3264766&group_id=76550 |
|
From: <pp...@us...> - 2011-04-27 12:03:40
|
Revision: 2008
http://simpletest.svn.sourceforge.net/simpletest/?rev=2008&view=rev
Author: pp11
Date: 2011-04-27 12:03:33 +0000 (Wed, 27 Apr 2011)
Log Message:
-----------
Adding a couple of "</strong>" to clean up the documentation about mocks
Modified Paths:
--------------
simpletest/trunk/docs/source/en/mock_objects_documentation.xml
Modified: simpletest/trunk/docs/source/en/mock_objects_documentation.xml
===================================================================
--- simpletest/trunk/docs/source/en/mock_objects_documentation.xml 2010-12-17 02:55:54 UTC (rev 2007)
+++ simpletest/trunk/docs/source/en/mock_objects_documentation.xml 2011-04-27 12:03:33 UTC (rev 2008)
@@ -334,8 +334,8 @@
$buy_books = 'Buy books';
$write_code = 'Write code';
$pad = new MockPad();
-$vector-><strong>returnsByReferenceAt(0, 'note', $buy_books, array('*', 3));
-$vector-><strong>returnsByReferenceAt(1, 'note', $write_code, array('*', 3));
+$vector-><strong>returnsByReferenceAt(0, 'note', $buy_books, array('*', 3));</strong>
+$vector-><strong>returnsByReferenceAt(1, 'note', $write_code, array('*', 3));</strong>
]]></php>
This will return a reference to <code>$buy_books</code> and
then to <code>$write_code</code>, but only if two parameters
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2011-04-01 16:11:32
|
Bugs item #3264766, was opened at 2011-03-31 12:27 Message generated for change (Comment added) made by yuvilio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3264766&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: yuvilio (yuvilio) Assigned to: Nobody/Anonymous (nobody) Summary: Remove GroupTest from documentation Initial Comment: The tutorial on the SimpleTest site still GroupTest uses http://www.simpletest.org/en/group_test_tutorial.html which has been replaced with TestSuite ( see https://github.com/lox/simpletest/blob/master/HELP_MY_TESTS_DONT_WORK_ANYMORE) . This may be confusing to others getting started with it. You may want to update the documentation. It may be worthwhile to stick it into a wiki or some other user editable form rather than bothering the developer with bugs. Great tool! ---------------------------------------------------------------------- >Comment By: yuvilio (yuvilio) Date: 2011-04-01 11:11 Message: another example is that the documentation seems to still perfer deprecated methods . For example: In http://www.simpletest.org/en/mock_objects_documentation.html: setReturnValueAt instead of returnsByValueAt ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3264766&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2011-03-31 17:27:44
|
Bugs item #3264766, was opened at 2011-03-31 12:27 Message generated for change (Tracker Item Submitted) made by yuvilio You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3264766&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Documentation Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: yuvilio (yuvilio) Assigned to: Nobody/Anonymous (nobody) Summary: Remove GroupTest from documentation Initial Comment: The tutorial on the SimpleTest site still GroupTest uses http://www.simpletest.org/en/group_test_tutorial.html which has been replaced with TestSuite ( see https://github.com/lox/simpletest/blob/master/HELP_MY_TESTS_DONT_WORK_ANYMORE) . This may be confusing to others getting started with it. You may want to update the documentation. It may be worthwhile to stick it into a wiki or some other user editable form rather than bothering the developer with bugs. Great tool! ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3264766&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2011-03-09 23:43:26
|
Feature Requests item #3204787, was opened at 2011-03-09 23:43 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547458&aid=3204787&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web tester Group: Next Release (example) Status: Open Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: i can't get the contents of page Initial Comment: i'm testing a postback page for some web service. and that web service requires to print text/plain response if succeed "1" if fails "0" and web test assumes page could'n load when i return "0" as string. i'm putting assert for $this->get or post method. and it returns false if content is just "0" and i'm using this trick: this->assertTrue($this->get($url), "Postback page couldn't open"); ob_start(); $this->showSource(); $source = strip_tags(ob_get_contents()); ob_end_clean(); it would be great to add getSource like method beside showSource. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547458&aid=3204787&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2011-03-09 11:45:45
|
Feature Requests item #3204066, was opened at 2011-03-09 11:45 Message generated for change (Tracker Item Submitted) made by bkochan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547458&aid=3204066&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web tester Group: None Status: Open Priority: 5 Private: No Submitted By: BkoChan (bkochan) Assigned to: Nobody/Anonymous (nobody) Summary: Unable to assertField on new HTML5 input types Initial Comment: I haven't tested many of the new HTML5 input types but I am unable to assertField on type="email" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547458&aid=3204066&group_id=76550 |
|
From: Aaron S. <aa...@gm...> - 2011-02-13 15:11:34
|
Hi Simple Test Developers,
I have put together a behavior-driven development style interface for
using simple test. You create tests that look something like this:
$describe("A thing",function($it){
$it("will work",function($expect){
$expect(1).toBeTrue();
});
});
The source code is on github:
https://github.com/aaronds/phpspecs
It's at a 'proven principle' stage and I would be very interested to
hear your comments.
Many thanks for all your work,
Aaron
|
|
From: Bogdan C. <cri...@gm...> - 2010-12-25 14:37:26
|
Hi I already use simpletest for unit testing of our open-source project FreeSMS (Student Management System): http://sourceforge.net/projects/freesms/ However, I would like to upload in the file tree of our project a folder with the sources of simpletest project we currently use for tests. Can I do such a thing ? What requirements should be met in order to do so ? regards -- Bogdan Cristea http://sites.google.com/site/cristeab/ |
|
From: <js...@us...> - 2010-12-17 02:56:00
|
Revision: 2007
http://simpletest.svn.sourceforge.net/simpletest/?rev=2007&view=rev
Author: jsweat
Date: 2010-12-17 02:55:54 +0000 (Fri, 17 Dec 2010)
Log Message:
-----------
fix spelling error
Modified Paths:
--------------
simpletest/trunk/docs/source/en/group_test_documentation.xml
Modified: simpletest/trunk/docs/source/en/group_test_documentation.xml
===================================================================
--- simpletest/trunk/docs/source/en/group_test_documentation.xml 2010-11-02 14:09:54 UTC (rev 2006)
+++ simpletest/trunk/docs/source/en/group_test_documentation.xml 2010-12-17 02:55:54 UTC (rev 2007)
@@ -134,7 +134,7 @@
may want to group the tests together in all sorts of ways.
</p>
<p>
- Everything we have dewcrbed so far with test scripts applies to
+ Everything we have described so far with test scripts applies to
<code>TestSuite</code>s as well...
<php><![CDATA[
<?php
@@ -193,4 +193,4 @@
simpletest documentation, phpunit, pear
</keywords>
</meta>
-</page>
\ No newline at end of file
+</page>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2010-12-14 03:54:30
|
Patches item #3136975, was opened at 2010-12-14 03:54 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547457&aid=3136975&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: Unset $context->test between calls to SimpleTestCase->run Initial Comment: Hello, I hope you consider this patch. It's a very simple patch to force unset of $context->test at the end of SimpleTestCase->run(). The reason why this is useful is for situations where running Group tests where each test has special one time setup in the constructor. In our case, we setup storage containers and remove the containers using a __destruct() method in a container manager class. In the unpatched situation, when executing sequential tests in a group, the __destruct() methods of the previous test case will only run AFTER the __construct() of the next test case. If you have any questions please let me know and I can show you some example code privately. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547457&aid=3136975&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2010-12-08 13:22:12
|
Bugs item #3100649, was opened at 2010-11-01 11:30 Message generated for change (Comment added) made by kozma You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3100649&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: No file: arguments.php in archive: simpletest_1.1alpha.tar. Initial Comment: No file: arguments.php in archive: simpletest_1.1alpha.tar.gz by download link: http://downloads.sourceforge.net/project/simpletest/simpletest/simpletest_1.1/simpletest_1.1alpha.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsimpletest%2F&ts=1288606959&use_mirror=citylan ( ! ) Warning: require_once(/home/vit/trunk/www/tests/inc/simpletest/arguments.php) [function.require-once]: failed to open stream: No such file or directory in /home/vit/trunk/www/tests/inc/simpletest/reporter.php on line 13 PS I load manual file from http://simpletest.svn.sourceforge.net/viewvc/simpletest/simpletest/trunk/arguments.php?view=log ---------------------------------------------------------------------- Comment By: Peter Kozma (kozma) Date: 2010-12-08 14:22 Message: This seems to be fixed in SVN. You only have to comment out line 13 in simpletest/reporter.php ---------------------------------------------------------------------- Comment By: Clutch (clutchus) Date: 2010-11-16 18:01 Message: Why hasn't this one been fixed? Is arguments.php broken? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3100649&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2010-11-16 17:01:39
|
Bugs item #3100649, was opened at 2010-11-01 05:30 Message generated for change (Comment added) made by clutchus You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3100649&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: No file: arguments.php in archive: simpletest_1.1alpha.tar. Initial Comment: No file: arguments.php in archive: simpletest_1.1alpha.tar.gz by download link: http://downloads.sourceforge.net/project/simpletest/simpletest/simpletest_1.1/simpletest_1.1alpha.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fsimpletest%2F&ts=1288606959&use_mirror=citylan ( ! ) Warning: require_once(/home/vit/trunk/www/tests/inc/simpletest/arguments.php) [function.require-once]: failed to open stream: No such file or directory in /home/vit/trunk/www/tests/inc/simpletest/reporter.php on line 13 PS I load manual file from http://simpletest.svn.sourceforge.net/viewvc/simpletest/simpletest/trunk/arguments.php?view=log ---------------------------------------------------------------------- Comment By: Clutch (clutchus) Date: 2010-11-16 11:01 Message: Why hasn't this one been fixed? Is arguments.php broken? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3100649&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2010-11-03 09:35:02
|
Bugs item #3102074, was opened at 2010-11-03 14:32 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3102074&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web tester Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: transkontrol () Assigned to: Marcus Baker (lastcraft) Summary: assertLink by href value Initial Comment: assertLink check only one (first) link, selected by label. If page have 2,3,4,... links with indentical text, but witdth different "href", we can`t check all this links. my variant WebTestCase::assertLink() method: public function assertLink($label, $expected = true, $message = '%s') { if( !$expected ) { $url = $this->browser->getLink($label); return $this->assertTrue($url !== false, sprintf($message, "Link [$label] should exist")); } //??? separate method? $urls = $this->browser->getLinks($label); $expectation = new IdenticalExpectation($expected); foreach( $urls as $url ) { //copypaste form SimpleTestCase::assert() $compare = $url->asString(); if( $expectation->test( $compare ) ) { $msg = $expectation->overlayMessage( $compare, $this->reporter->getDumper() ); return $this->pass(sprintf( $message, $msg )); } } return $this->fail( sprintf($message, "Link [$label] should exist") ); } ---------------------------------------------------------------------- >Comment By: transkontrol () Date: 2010-11-03 15:35 Message: - if( !$expected ) + if( true === $expected ) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3102074&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2010-11-03 08:32:02
|
Bugs item #3102074, was opened at 2010-11-03 14:32 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3102074&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web tester Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: transkontrol () Assigned to: Marcus Baker (lastcraft) Summary: assertLink by href value Initial Comment: assertLink check only one (first) link, selected by label. If page have 2,3,4,... links with indentical text, but witdth different "href", we can`t check all this links. my variant WebTestCase::assertLink() method: public function assertLink($label, $expected = true, $message = '%s') { if( !$expected ) { $url = $this->browser->getLink($label); return $this->assertTrue($url !== false, sprintf($message, "Link [$label] should exist")); } //??? separate method? $urls = $this->browser->getLinks($label); $expectation = new IdenticalExpectation($expected); foreach( $urls as $url ) { //copypaste form SimpleTestCase::assert() $compare = $url->asString(); if( $expectation->test( $compare ) ) { $msg = $expectation->overlayMessage( $compare, $this->reporter->getDumper() ); return $this->pass(sprintf( $message, $msg )); } } return $this->fail( sprintf($message, "Link [$label] should exist") ); } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3102074&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2010-11-03 05:05:47
|
Bugs item #3101613, was opened at 2010-11-02 20:08 Message generated for change (Comment added) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101613&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Unit test framework Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: 1.1alpha package is missing "arguments.php" Initial Comment: 1.1alpha package is shipped without "arguments.php" file while this file is required by "reporter.php" ---------------------------------------------------------------------- Comment By: transkontrol () Date: 2010-11-03 11:05 Message: This bug duplicate for https://sourceforge.net/tracker/?func=detail&aid=3100649&group_id=76550&atid=547455 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101613&group_id=76550 |
|
From: <las...@us...> - 2010-11-02 14:10:00
|
Revision: 2006
http://simpletest.svn.sourceforge.net/simpletest/?rev=2006&view=rev
Author: lastcraft
Date: 2010-11-02 14:09:54 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
Removing arguments dependency
Modified Paths:
--------------
simpletest/trunk/VERSION
Modified: simpletest/trunk/VERSION
===================================================================
--- simpletest/trunk/VERSION 2010-11-02 14:09:34 UTC (rev 2005)
+++ simpletest/trunk/VERSION 2010-11-02 14:09:54 UTC (rev 2006)
@@ -1 +1 @@
-1.1alpha
+1.1alpha2
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <las...@us...> - 2010-11-02 14:09:41
|
Revision: 2005
http://simpletest.svn.sourceforge.net/simpletest/?rev=2005&view=rev
Author: lastcraft
Date: 2010-11-02 14:09:34 +0000 (Tue, 02 Nov 2010)
Log Message:
-----------
Removing arguments dependency
Modified Paths:
--------------
simpletest/trunk/reporter.php
Modified: simpletest/trunk/reporter.php
===================================================================
--- simpletest/trunk/reporter.php 2010-10-31 13:44:14 UTC (rev 2004)
+++ simpletest/trunk/reporter.php 2010-11-02 14:09:34 UTC (rev 2005)
@@ -10,7 +10,7 @@
* include other SimpleTest class files
*/
require_once(dirname(__FILE__) . '/scorer.php');
-require_once(dirname(__FILE__) . '/arguments.php');
+//require_once(dirname(__FILE__) . '/arguments.php');
/**#@-*/
/**
@@ -147,7 +147,7 @@
' line ' . $exception->getLine() . ']';
print " -> <strong>" . $this->htmlEntities($message) . "</strong><br />\n";
}
-
+
/**
* Prints the message for skipping tests.
* @param string $message Text of skip condition.
@@ -281,7 +281,7 @@
print "\tin " . implode("\n\tin ", array_reverse($breadcrumb));
print "\n";
}
-
+
/**
* Prints the message for skipping tests.
* @param string $message Text of skip condition.
@@ -313,7 +313,7 @@
private $just_this_case = false;
private $just_this_test = false;
private $on;
-
+
/**
* Selects the test case or group to be run,
* and optionally a specific test.
@@ -362,7 +362,7 @@
}
return false;
}
-
+
/**
* Switch on testing for the group or subgroup.
* @access private
@@ -370,7 +370,7 @@
protected function on() {
$this->on = true;
}
-
+
/**
* Switch off testing for the group or subgroup.
* @access private
@@ -378,7 +378,7 @@
protected function off() {
$this->on = false;
}
-
+
/**
* Is this group actually being tested?
* @return boolean True if the current test group is active.
@@ -434,7 +434,7 @@
* @subpackage UnitTester
*/
class NoSkipsReporter extends SimpleReporterDecorator {
-
+
/**
* Does nothing.
* @param string $message Text of skip condition.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2010-11-02 14:08:55
|
Bugs item #3101613, was opened at 2010-11-02 15:08 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101613&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Unit test framework Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Nobody/Anonymous (nobody) Summary: 1.1alpha package is missing "arguments.php" Initial Comment: 1.1alpha package is shipped without "arguments.php" file while this file is required by "reporter.php" ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101613&group_id=76550 |
|
From: SourceForge.net <no...@so...> - 2010-11-02 09:22:26
|
Bugs item #3101443, was opened at 2010-11-02 15:22 Message generated for change (Tracker Item Submitted) made by You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101443&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Web tester Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: transkontrol () Assigned to: Marcus Baker (lastcraft) Summary: change HtmlReporter default charset Initial Comment: Resolve any problems in autorun testcases by set default charset HtmlReporter in "utf-8". ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3101443&group_id=76550 |
|
From: <js...@us...> - 2010-10-31 13:44:20
|
Revision: 2004
http://simpletest.svn.sourceforge.net/simpletest/?rev=2004&view=rev
Author: jsweat
Date: 2010-10-31 13:44:14 +0000 (Sun, 31 Oct 2010)
Log Message:
-----------
adding docblock for phpdoc api documentation
Modified Paths:
--------------
simpletest/trunk/extensions/testdox.php
Modified: simpletest/trunk/extensions/testdox.php
===================================================================
--- simpletest/trunk/extensions/testdox.php 2010-10-31 13:34:53 UTC (rev 2003)
+++ simpletest/trunk/extensions/testdox.php 2010-10-31 13:44:14 UTC (rev 2004)
@@ -1,10 +1,16 @@
<?php
/**
- * base include file for SimpleTest
+ * Extension for a TestDox reporter
* @package SimpleTest
* @subpackage Extensions
* @version $Id$
*/
+
+/**
+ * TestDox reporter
+ * @package SimpleTest
+ * @subpackage Extensions
+ */
class TestDoxReporter extends SimpleReporter
{
var $_test_case_pattern = '/^TestOf(.*)$/';
@@ -44,4 +50,4 @@
echo " [FAILED]";
}
}
-?>
\ No newline at end of file
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <js...@us...> - 2010-10-31 13:34:59
|
Revision: 2003
http://simpletest.svn.sourceforge.net/simpletest/?rev=2003&view=rev
Author: jsweat
Date: 2010-10-31 13:34:53 +0000 (Sun, 31 Oct 2010)
Log Message:
-----------
adding docblocks for phpdoc api documentation
Modified Paths:
--------------
simpletest/trunk/recorder.php
Modified: simpletest/trunk/recorder.php
===================================================================
--- simpletest/trunk/recorder.php 2010-10-30 08:25:43 UTC (rev 2002)
+++ simpletest/trunk/recorder.php 2010-10-31 13:34:53 UTC (rev 2003)
@@ -16,6 +16,8 @@
/**
* A single test result.
+ * @package SimpleTest
+ * @subpackage Extensions
*/
abstract class SimpleResult {
public $time;
@@ -33,18 +35,32 @@
}
}
-/** A single pass captured for later. */
+/**
+ * A single pass captured for later.
+ * @package SimpleTest
+ * @subpackage Extensions
+ */
class SimpleResultOfPass extends SimpleResult { }
-/** A single failure captured for later. */
+/**
+ * A single failure captured for later.
+ * @package SimpleTest
+ * @subpackage Extensions
+ */
class SimpleResultOfFail extends SimpleResult { }
-/** A single exception captured for later. */
+/**
+ * A single exception captured for later.
+ * @package SimpleTest
+ * @subpackage Extensions
+ */
class SimpleResultOfException extends SimpleResult { }
/**
* Array-based test recorder. Returns an array
* with timestamp, status, test name and message for each pass and failure.
+ * @package SimpleTest
+ * @subpackage Extensions
*/
class Recorder extends SimpleReporterDecorator {
public $results = array();
@@ -82,4 +98,4 @@
$this->results[] = new SimpleResultOfException(parent::getTestList(), $message);
}
}
-?>
\ No newline at end of file
+?>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: SourceForge.net <no...@so...> - 2010-10-30 20:58:47
|
Bugs item #3099286, was opened at 2010-10-30 20:58 Message generated for change (Tracker Item Submitted) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3099286&group_id=76550 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Unit test framework Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: arguments.php not included in 1.1alpha Initial Comment: arguments.php is not included in the 1.1alpha release, causing error messages to be thrown. Manually downloading this file from SVN solves the problem. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=547455&aid=3099286&group_id=76550 |