--Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Montréal-Python.
Pour envoyer un message à ce groupe, adressez un e-mail à montrea...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse montrealpytho...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
With two replies in less than a week, it's obvious that you are
subscribed to this list.
Joël, have you started coding in Python? We love to see famous PHP
hackers giving our little brace-less language a try.
--
Yannick Gingras
http://ygingras.net
Selenium. http://seleniumhq.org/about/
On 2011-05-23 22:33 Joël Perras wrote:With two replies in less than a week, it's obvious that you are[...]
subscribed to this list.
Joël, have you started coding in Python? We love to see famous PHP
hackers giving our little brace-less language a try.
not in python but JMeter is very good.
--
Gabriel Tremblay B.Ing
http://www.etrange.ca/view
If you want to be able to do programmatic front-end testing (e.g. fetch a page, test if certain HTML tags exist), then there are a few tools to do that. However, the difficult part comes in when you want to test that dynamic content (e.g. ajax calls on mouse events, drag & drop, etc.) functions correctly.
As far as I know, there exist no such tools in Python, since you need both a javascript runtime as well as a DOM implementation to simulate events and the various rendering quirks of modern browsers. You can always go with something like Selenium (which has been mentioned previously by Pierre), which does the job relatively well.If you're a bit more adventurous, the Javascript community has done a great deal of work in this area. Most notably:Env.js: http://www.envjs.com/Zombie.js: http://zombie.labnotes.org/Jasmine: http://pivotal.github.com/jasmine/
And there are probably some more that I've forgotten about.
Hope that helps.Joël.
Hi Pierre,
There is a very interesting tool called Lettuce (http://lettuce.it/). It is a Behavior Driven Development tool that you can use for GUI tests, for example. It is written in Python and includes Selenium actions to perform your browser tests.
Hope I helped you.
Hugs,
Gustavo Barbosa
The common BDD approach basically consists in:
--
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes Montréal-Python.
Pour envoyer un message à ce groupe, adressez un e-mail à montrea...@googlegroups.com.
Pour vous désabonner de ce groupe, envoyez un e-mail à l'adresse montrealpytho...@googlegroups.com.
Pour plus d'options, consultez la page de ce groupe : http://groups.google.com/group/montrealpython?hl=fr-CA
Exactly like Simon said !
You describe the behavior of your feature (so you can use human-like language), before you write some code.
For example:
Feature: Log in
Scenario: If I pass correctly the username and password, so I am at the main page.
Given I am at login page
When I log me in with username 'teste' and password 'test'
Then I am at the main page
Then, you describe the functions that will respond to these statements.
In this case, you can use the selenium support that Lettuce offers to you.
BDD is basically a refinement of TDD. The question is.. if you have somebody (like a Product Owner in Scrum, or yourself) to write the feature behavior of your product, for example, you codify it by this way.
Hugs,
Gustavo Barbosa
As I see, it is like fitness but it is more orientied to unit tests than function tests as fitness does. Right?
On Tue, May 31, 2011 at 3:08 PM, Pierre Thibault <pierre.t...@gmail.com> wrote:
--
--