Skip to content

Testing

Alexandre Segura edited this page Oct 16, 2017 · 2 revisions

Steps in English.

Plus de tests, cela signifie :

  • Plus de bugs détectés avant la mise en production
  • Plus de retours utilisateurs
  • Plus de temps pour coder

Donc c'est super!

Comment tester

Une instance de test est accessible : https://demo.coopcycle.org/fr/ (avec la carte de Paris). Utilisez la à votre guise (création de comptes, de commandes, etc.) Tout est censer marcher (le paiement, les addresses farfelues, etc.). L'instance est réinitialisée tout les soirs (comptes, restaurants, commandes sont supprimés).

Le paiement est fait via Stripe, vous pouvez utiliser les cartes de test. Certains numéros sont fait pour provoquer des erreurs de paiement intéressantes à tester.

  • Tester comme client : passer commande

  • Tester comme client existant : passer commande puis continuer à tester. Ce cas est intéressant, car vous aurez accès à votre profil (commandes passées, édition d'informations persos) et aurez un carnet d'adresses (préchargement à la commande).

  • Testing as a restaurant owner : go to https://demo.coopcycle.org/register/ and select Restaurant in the last dropdown. You will be able to edit your restaurant/menu and see the incoming orders by clicking the top header on the right.

  • Tester comme restaurateur : créer un compte https://demo.coopcycle.org/register/ ici et sélectionner "Restaurant" comme type de compte. Vous pourrez créer votre restaurant et sa carte en cliquant en haut à droite.

  • Tester comme restaurateur et comme client : utiliser la navigation privée. Vous pourrez alors être loggué avec les deux types de compte. Un cas exemple de case intéressant: (1) créer un restaurant et sa carte (2) passer commande comme client dans ce restaurant (3) voir la commande apparaître dans l'interface restaurateur.

Comment faire un retour?

  • Si vous trouvez un bug : Soyez sûr de connaître les étapes pour le reproduire. Vous pouvez ouvrir une issue. Si vous ne savez pas comment faire, envoyez un mail à dev[at]coopcyle.org .

  • Si vous avez une remarque sur l'expérience utilisateur : Envoyez nous un mail à dev[at]coopcyle.org .

English

One nice way to get involved into the project is to test it. More testing means :

  • More bugs found before going to production
  • More user feedback
  • More time for devs to focus on writing code

How to test ?

A demo instance is running at : https://demo.coopcycle.org/fr/ (located at Paris). You can use it as much as you want - create accounts, orders, aso. It is reseted every day at midnight (= all accounts, orders, restaurants, are deleted).

Payment is done thanks to Stripe, you can use testing cards. Some numbers are meant to fail, use them!

  • Testing as a customer : follow the checkout process

  • Testing as a returning customer : follow the checkout process once, at least until account creation. This case is interesting because you will have access to your profile page and will have a saved address.

  • Testing as a restaurant owner : go to https://demo.coopcycle.org/register/ and select Restaurant in the last dropdown. You will be able to edit your restaurant/menu and see the incoming orders by clicking the top header on the right.

  • Testing as a restaurant owner and a customer : use the incognito/private mode of your browser. Then you can be looged in as a customer and a restaurnat owner as the same time. You could do things like (1) create a restaurant and a menu (2) order in the restaurant as a customer (3) see the order instantly appears on the restaurant dashboard.

How to give feedback ?

  • If you hit a bug: be sure to know the exact steps to meet the bug, so the developers can reproduce it. Feel free to open an issue on GitHub. If you don't know how or are unsure about your bug, please shout us an email at dev[at]coopcyle.org .

  • If you have an UX/UI feedback : Send a mail to dev[at]coopcyle.org .

Clone this wiki locally