Using acceptance tests in your plugin [EN]

Το Antispam Bee είναι ένα δημοφιλές plugin για την καταπολέμηση ανεπιθύμητων μηνυμάτων για το WordPress, το οποίο αναπτύσσεται στο «Pluginkollektiv» αφού ο αρχικός συγγραφέας δεν ήταν πλέον σε θέση να διατηρήσει περαιτέρω το plugin. Πρόσφατα, προστέθηκαν δοκιμές Behat για να δοκιμάσουν προσεκτικά το plugin πριν από κάθε διανομή (στην πραγματικότητα, για κάθε commit). Αυτό επιτρέπει στην ομάδα που το αναπτύσσει να ελέγχει αυτόματα όλες τις λειτουργίες του plugin σε διάφορες εκδόσεις του WordPress και να εξασφαλίζει μια ομαλότερη εμπειρία κατά την ενημέρωση του plugin. Σ’ αυτή τη συζήτηση, ο David θέλει να μας παρουσιάσει τις δοκιμές Behat, τη βιβλιοθήκη Wordhat και πώς μπορούμε να αυτοματοποιήσουμε τις δοκιμές χρησιμοποιώντας το Travis, έτσι ώστε να χρησιμοποιήσουμε αυτές τις τεχνικές για να παραδώσουμε πιο σταθερά προϊόντα. Το repo plugin: https://github.com/pluginkollektiv/antispam-bee/

Antispam Bee is a popular spam fighting plugin for WordPress, being developed in the «Pluginkollektiv» after the initial author was not able no more to further maintain the plugin. Recently, Behat tests were added to test the plugin thoroughly before every release (actually, for every commit). This enables the developing team to automatically test all the functions of the plugin in different WordPress versions and ensure a smoother expierence, when updating the plugin. In this talk, David wants to introduce us to Behat tests, the Wordhat library and how we can automate tests using Travis, so we can use those techniques to deliver more stable products. The plugin repo: https://github.com/pluginkollektiv/antispam-bee/

Ομιλητής