These are chat archives for ushahidi/Community

22nd
Oct 2015
Ushbot
@ushbot
Oct 22 2015 02:28
[Robbie Mackay, Ushahidi] @will @Jason @ZackHalloran anyone used a good alternative to PHPUnit?
[Robbie Mackay, Ushahidi] I find the syntax a bit heavy / ugly. I suspect there must be some newer alternatives by now
[Robbie Mackay, Ushahidi] https://github.com/atoum/Atoum

[Link]

<p><b><a href="[https://github.com/atoum/atoum](https://github.com/atoum/atoum)">atoum/atoum</a></b></p>

<p>atoum - The modern, simple and intuitive PHP 5.3+ unit testing framework.</p>

[Robbie Mackay, Ushahidi] codeception maybe..
[Zack Halloran, Ushahidi] I used codeception (http://codeception.com/) to build tests for crowdmap. It's build on top of phpunit

[Link]

<p><b><a href="[http://codeception.com/](http://codeception.com/)">Codeception - BDD-style PHP testing.</a></b></p>

<p>Modern PHP testing for everyone.</p>

[Zack Halloran, Ushahidi] Easy to implement API tests
[Robbie Mackay, Ushahidi] Cool. I considered swapping all the platform behat API test for coderception a while ago .. didn't get far.
Ushbot
@ushbot
Oct 22 2015 02:39
[Robbie Mackay, Ushahidi] http://lumen.laravel.com/docs/testing#testing-json-apis

[Link]

<p><b><a href="[http://lumen.laravel.com/docs/testing#](http://lumen.laravel.com/docs/testing#)testing-json-apis">Lumen - PHP Micro-Framework By Laravel</a></b></p>

<p>Lumen - The Stunningly Fast PHP Micro-Framework By Laravel</p>

[Robbie Mackay, Ushahidi] .. apparently there already some stuff baked into lumen
[Robbie Mackay, Ushahidi] phpunit + extras
Ushbot
@ushbot
Oct 22 2015 02:50
[Zack Halloran, Ushahidi] Are we using phpspec for the platform?
[Robbie Mackay, Ushahidi] phpspec for some things. Behat for API testing.
[Robbie Mackay, Ushahidi] coverage is... not great
[Robbie Mackay, Ushahidi] Need to write unit tests too really. Some things lend themselves to that more than spec tests
Ushbot
@ushbot
Oct 22 2015 03:25
[Robbie Mackay, Ushahidi] damn. Can't use travis-ci for private repos without $s.. oops
Ushbot
@ushbot
Oct 22 2015 12:34
[Angela Oduor Lungati, Ushahidi] Quick question - this list of languages on .io - is this generated from Transifex/linked to transifex in any way?
[Angela Oduor Lungati, Ushahidi] i.e Site language on general settings page
Ushbot
@ushbot
Oct 22 2015 14:08
[Jess Shorland, Ushahidi] facebook post showing angularjs markup
[Jess Shorland, Ushahidi] is this a quick fix?
[Brian Herbert, Ushahidi] Nope
[Brian Herbert, Ushahidi] Maybe? You'll need to render the Facebook meta tags server side
Ushbot
@ushbot
Oct 22 2015 14:13

[Link]

<p><b><a href="[https://developers.facebook.com/docs/sharing/webmasters](https://developers.facebook.com/docs/sharing/webmasters)">Webmasters - Sharing - Documentation - Facebook for Developers</a></b></p>

<p>This document outlines how to optimize web-hosted content that is shared to Facebook, regardless of whether it's shared from the desktop or mobile web or a mobile app.</p>

Kyoungrok Jang
@kyoungrok0517
Oct 22 2015 15:13
Hi
Can I specify "created" when submitting the posts? Just setting "created" field in submitting JSON doesn't seem to work
Ushbot
@ushbot
Oct 22 2015 16:46
[Jason Mule, Ushahidi] @kyoungrok0517 no you can't specify "created" for new posts
Kyoungrok Jang
@kyoungrok0517
Oct 22 2015 16:52
I see. Thanks.
Ushbot
@ushbot
Oct 22 2015 17:13
[Jason Mule, Ushahidi] @AngelaOduor I think these were downloaded from Transifex.
Ushbot
@ushbot
Oct 22 2015 20:06
[Robbie Mackay, Ushahidi] @AngelaOduor we pull languages from tx. but I that list badly needs tweaking to only show available languages
Ushbot
@ushbot
Oct 22 2015 20:46
[Will, Ushahidi] @Robbie I want to test the password reset mailer, do I need anything particular installed on my system for mail sending? It doesn't error but it doesn't arrive in my mail either
Ushbot
@ushbot
Oct 22 2015 21:09
[Robbie Mackay, Ushahidi] the vagrant box probably fails to send out email..
[Robbie Mackay, Ushahidi] check mailq on the box
[Robbie Mackay, Ushahidi] @will ^
Ushbot
@ushbot
Oct 22 2015 21:26
[Will, Ushahidi] ok groovy thanks