raldo.chea.io
1ere contribution Open source | Raldo CHEA
http://raldo.chea.io/1ere-contribution-open-source
Aller au contenu principal. 1ere contribution Open source. Participer d’une façon ou d’une autre à un projet Open Source me paraissait plutôt lointain de mon niveau. Alors que non, chacun peut contribuer à son niveau. Le simple fait de s’intéresser ou s’exprimer sur un forum ou lors de conférence, peut être considérer comme une forme de contribution. J’ai voulu testé atoum. Http:/ docs.atoum.org/. Recrutement et vie de famille. Symfony 2.1 et PostGreSQL →. 12 avril 2013 à 8:24. Adresse de contact *.
markup.skriv.org
Skriv Markup Language
http://markup.skriv.org/skriv/use
Who uses Skriv Markup? Who uses Skriv Markup? Or simply Ark ) is a simple tool that can be used to create hierarchical pages of formatted text. Theses pages are written using the Skriv Markup syntax. Is open for testing. It's contents are reset every hour. Offers an open API you can use to convert Skriv Markup text into HTML. Is a modern unit testing framework for PHP 5.3 projects. Are written using Skriv Markup syntax, rendered with the SkrivMarkup library. FineDB is a young noSQL database project.
extensions.atoum.org
atoum's extensions
http://extensions.atoum.org/extensions/blackfire
N-ARY CIRCLED PLUS OPERATOR. Blackfire-extension allows you to use blackfire assertions inside atoum. The Blackfire PHP-SDK has a built-in PHPUnit integration. This extension does the same, but for atoum. Let's take this example. When running this test, the callback will be automatically instrumented and execute on Blackfire the assertions defined by the Configuration. If they fail, an atoum error will be displayed.The above example will have this output :. Install extension using composer. This - given(...
extensions.atoum.org
atoum's extensions
http://extensions.atoum.org/extensions/deprecated
N-ARY CIRCLED PLUS OPERATOR. This extension allows you to avoid having. Errors treated errors, and display the list of deprecated calls at the end of the tests. When your library uses the. Function to indicate that the method is deprecated, or when you use a class that does that in your test, you may not want to see your tests fail. This extension will allow to have your atoum's test pass event if you have deprecated calls, so will be able to migrate the deprecated calls at your own pace. You can still u...
extensions.atoum.org
atoum's extensions
http://extensions.atoum.org/extensions/xml
N-ARY CIRCLED PLUS OPERATOR. This atoum extension allows you to test XML document using atoum. It's possible to execute xpath against the document or to validate it using DTD, XSD or RelaxNG schema. You can use it to validate HTML documents too. Php namespace shulard example xml; use atoum; class foo extends atoum test { public function testXMLDocument() { $xml = XML? Root xmlns:atom="http:/ purl.org/atom/ns#" xmlns:dc="http:/ purl.org/dc/elements/1.1/" atom:feed 1 dc:node namespaced content ...Root node...
extensions.atoum.org
atoum's extensions
http://extensions.atoum.org/extensions/prophecy
N-ARY CIRCLED PLUS OPERATOR. Atoum has great stubbing/mocking system. If you prefer using prophecy. You can do it using this extension. Here is an example of how to create and use a stub using prophecy, in atoum :. Install extension using composer. Composer config minimum-stability dev composer config prefer-stable true composer config repositories.atoumProphecy vcs https:/ github.com/atoum/prophecy-extension composer require - dev atoum/prophecy-extension. Object will be available in your tests via the.
extensions.atoum.org
atoum's extensions
http://extensions.atoum.org/extensions/visibility
N-ARY CIRCLED PLUS OPERATOR. The atoum visibility-extension allows you to override method visibility in your unit tests. For example, you will be able to test protected method with it. In the example, we test the protected method. Php namespace { class foo { protected function bar() { return 'foo'; } } } namespace tests units { use mageekguy atoum; class foo extends atoum test { public function testBar() { $this - if($sut = new foo() - then - string($this- invoke($sut)- bar() - isEqualTo('foo') ; } } }.