[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [babel-dev] Making Babel configurable ; PHPSpec ; big commits in the pipe
|
Let me know what would help. Besides maintaining
eclipse.org for you, of course :)
On Wed, Jan 28, 2009 at 3:55 PM, Denis Roy
<denis.roy@xxxxxxxxxxx> wrote:
I agree that we definitely need a story wrt testing Babel code.
Unfortunately, I don't have much time to fiddle with PHPSpec, sorry.
Antoine Toulme wrote:
Hi everyone,
I opened this
bug to make Babel consumable by other
organizations.
We had an initial discussion about it and we kind of agreed on going
for an extension API a la Wordpress.
At the same time, it came to my attention that we were not testing
Babel enough. I played with PHPSpec a little, liked it, and documented
the extension API with it.
I added a patch to the bug mentioned above. Try applying the patch,
then run "phpspec AddonsHtmlFunctionsLoadingSpec.php" (you need to be
in its folder).
You might need to install PHPSpec prior to that. I encourage you to try
it out. When running the utility, it outputs some cool stuff:
?>phpspec AddonsHtmlFunctionsLoadingSpec.php -s
--reporter=console
..
Finished in 0.0113627910614 seconds
addons html functions loading
-should have added a hook for image root
-should provide a way to validate the url of a map file
2 examples, 0 failures
If you want to know more, feel free to ask and look at the PHPSpec
manual.
Thanks,
Antoine
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev
_______________________________________________
babel-dev mailing list
babel-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/babel-dev