Skip to content

Instantly share code, notes, and snippets.

@BugBuster1701
Created December 3, 2014 14:29
Show Gist options
  • Select an option

  • Save BugBuster1701/16e3c9fb2f56dc877942 to your computer and use it in GitHub Desktop.

Select an option

Save BugBuster1701/16e3c9fb2f56dc877942 to your computer and use it in GitHub Desktop.
Travis Einführung, Beispiele, phpunit
http://www.thewebhatesme.com/entwicklung/travis-ci/
http://www.thewebhatesme.com/entwicklung/travis-ci-fuer-fortgschrittene/
http://blog.sebastianbrosch.de/entwicklung/github-travis-ci-coveralls-code-climate-95/
http://www.espend.de/artikel/testing-mit-composer-travis-ci-phpunit-und-github.html
https://github.com/codefog/contao-haste/blob/master/.travis.yml
http://www.sitepoint.com/getting-started-with-phpunit/
@BugBuster1701
Copy link
Copy Markdown
Author

Testing Code With PHPUnit in Zend Studio
https://www.youtube.com/watch?v=UBnDuaqtRqg

@BugBuster1701
Copy link
Copy Markdown
Author

@BugBuster1701
Copy link
Copy Markdown
Author

hier kann man was abschauen
https:// github.com/contao/core-bundle/pull/291/files
contao/core-bundle/tests/Contao/WidgetTest.php

@BugBuster1701
Copy link
Copy Markdown
Author

@BugBuster1701
Copy link
Copy Markdown
Author

@BugBuster1701
Copy link
Copy Markdown
Author

4 Artikel für Tests mit speziellen Anforderungen

  • Testing private methods
  • Testing code that uses singletons
  • Stubbing static methods
  • Stubbing hard-coded dependencies

https://sebastian-bergmann.de/archives/881-Testing-Your-Privates.html
https://sebastian-bergmann.de/archives/882-Testing-Code-That-Uses-Singletons.html
https://sebastian-bergmann.de/archives/883-Stubbing-and-Mocking-Static-Methods.html
https://sebastian-bergmann.de/archives/885-Stubbing-Hard-Coded-Dependencies.html

Archiv Texte, sollte man schnell ein Backup machen, solche Grundlagen findet man selten.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment