5

I really love testing and building unit tests, but I find it quite annoying having to build tests for a website's workflow.

e.g.

Register -> Check email -> Activate account -> Login

or

Login -> Edit details -> Submit and view profile


manual testing = loads of time + tireing

even when using app such as Selenium, going though each iteration and then having to check emails etc...


Is there some way of performing an array of tests in a more efficient way?

How do you guys do it? :)

3 Answers 3

3

I write "functional unit" tests for individual views using Django's test framework. I have found that integration tests are best done using something like Robot Framework. In one of my projects I came up with a minimal, custom implementation of Ward Cunningham's FIT mechanism.

Sign up to request clarification or add additional context in comments.

Comments

3

You probably want a functional testing framework like Cucumber (written in Ruby) or its Python equivalent, Freshen. These allow you to write workflows in a plain-language text format, and the test runner will execute the steps and check the expected results.

Comments

2

I usually use the Lettuce framework for this kind of testing. You can find it here: http://lettuce.it/

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.