I've started integrating doctests into my modules. (Hooray!) These tend to be files which started as scripts, and are now are a few functions with CLI apps in the __name__=='__main__', so I don't want to put the running of the tests there. I tried nosetests --with-doctest, but get lots of failures I don't want to see, because some of ...
Programatically insert values to a webpage.
for eg.
I have web page where i have created to two text box and one command button.
when i click the button. it compares two value of the textbox.
and throws a message "hello".
to accomplish this job i want to open the webpage type the values press the button bla bla..
but i want to accomp...
Hey all,
I suppose this is more of an opinion than right / wrong. But I was wondering how you develop - I personally have tried coding before testing as well as test-driven development, and realized how much nicer test-driven development is, if you can hold your horses.
But what I'm wondering is how do you develop? Also where does doc...
Interview question. Please help what the tester need to do?
...
Hi folks,
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 t...
I'm trying to upgrade my rails application to Rails3.
When I run functional tests, I get a lot of NameError: uninitialized constant Test::Unit::AssertionFailedError errors. But unit tests and website itself seems to work fine.
Trace looks like this:
NameError: uninitialized constant Test::Unit::AssertionFailedError
/Users/mantas/.rvm/...
I've created test.py module, filled with
from django.test import TestCase
from django.test.client import Client
from django.contrib.auth.models import User
from django.contrib.sites.models import Site
from forum.models import *
class SimpleTest(TestCase):
def setUp(self):
u = User.objects.create_user("ak", "[email protected]", ...
In scalacheck's user guide there is "Generating Case Classes" paragraph. I modified example from it to use regular classes instead of case classes:
import org.scalacheck._
import Gen._
import Arbitrary._
sealed abstract class Tree
object Leaf extends Tree
class Node(left:Tree, rigth:Tree, v:Int) extends Tree
object Main {
val genLe...
I know nothing about Load Test Software.
Is Visual Studio Load Test Virtual User Pack 2010 any good?
...
With Test::More I often want to have a module that runs tests and has the ability to abort the callers test_plan. I have a series of tests that set up a plugin list for Catalyst::Test. I don't want to have to make my test check to see if they exist; instead, I want my script to abort if those plugins aren't present.
I was trying to trac...
I am looking for some Basic Test Automation/Plan Example using c#.
Any links/pointers are appreciated.
Thanks!
...
I'm trying to capture the queries which my code submits to the database by examining the contents of django.db.connection.queries. For some reason though, after all the automatically produced setup queries are logged, no further queries are logged from my own code. The following test case demonstrates the behavior.
from django.test im...
I am writing a web application with ruby on rails. It uses mongo db as well.
I have a few questions:
Firstly, what are the available testing tools (preferrably, free/open-source) for testing web-apps written in ruby on rails.
Secondly, what are the testing areas that should and can be generally covered with the above tools (unit, func...
I'm just starting out working on test scripts.I'm going to get a web application created in .net for testing. I have no idea what kind of testing is needed for such kind of applications.
...
I'm extensively using Selenium for integration testing. Works great for all normal stuff (HTML/AJAX), but no go when I'm trying to test third party ActiveX, Java applets and Flash components.
The solution I've found for this is Sikuli. Works great locally, but how can I integrate that into Selenium?
btw. if that's relevant, for Seleni...
I am getting ready to perform a series of performance comparisons of various of the shelf products.
What do I need to do to show credibility in the tests? How do I design my benchmark tests so that they are respectable?
I am also interested in any suggestions on the actual design of the tests. Ways to load data without effecting th...
from perldoc -f use
syntax of the function use:
use Module VERSION LIST
use Module VERSION
use Module LIST
use Module
use VERSION
but in this case:
use Test::More tests => 5;
(it sets number of tests to 5)
What is data type of the expresion tests => 5?
Is it LIST or something else?
How can I use this parame...
Is functional testing and Integration testing same??
You begin your testing through unit testing... Then after completing unit testing you go for Integration testing where testing the system as a whole. So is functional testing same as Integration testing as in functional testing also, we take the system as a whole and test it for funct...
Is functional testing and Integration testing same??
You begin your testing through unit testing... Then after completing unit testing you go for Integration testing where testing the system as a whole. So is functional testing same as Integration testing as in functional testing also, we take the system as a whole and test it for funct...
Is software testing done in the following order?
Unit testing
Integration testing
Functional testing
I want to confirm if Functional testing is done after Integration testing or not.
Thanx
...