I'm looking for suggestions to improve the process of automating functional testing of a website. Here's what I've tried in the past.
I used to have a test project using WATIN. You effectively write what look like "unit tests" and use WATIN to automate a browser to click around your site etc.
Of course, you need a site to be running. S...
Does any one know how to manage Software/Web Applications Testing process ?
...
Should I do
Test1(){
Assert(TestCase1);
Assert(TestCase1);
Assert(TestCase3);
...
}
or
Test1(){
Assert(TestCase1);
}
Test2(){
Assert(TestCase2);
}
Test3(){
Assert(TestCase3);
}
...
Note: All test cases are intimately related. There is only boolean differences between them.
...
Can somebody recommend a good (free) generator for NUnit Tests?
...
I'm writing a new application with CakePHP (just-released 1.2.4), using SimpleTest 1.0.1. I have read the relevant sections of the Cookbook, searched on the Bakery, and read Mark Story's postings on controller testing (the hard way and with mocks).
Unfortunately, none of this talks about real-world testing of non-trivial controllers. Lo...
So, I'm using moq for testing, but I ran into a problem that prevents me from mocking correctly, at least I think so.
This is my repository class:
public interface IAccountsRepository
{
IQueryable<Account> Accounts { get; }
IQueryable<Account> AccountsPaged(int pageSize, int selectedPage);
}
This is one of the implem...
I know you generally should not depend on order for your unit tests, but in xunit is it possible to make your tests run in a certain order?
...
I've never worked on tremendously huge projects and the workflow we use at work is check-out/code/compile locally to test/commit. I was wondering how a build server would change this process. How do developer test their code when the application is too huge to compile locally? They just code, commit and pray?
...
HI All,
i am Dinesh Kanojia and i am new in the Automate testing and
i want to perform data driven testing in selenium using ASP.NET(C#),ajax and almost all the features of jquery so any one can give me the step how to perform data driven testing using c#
or some demo through which i can perform my testing
thanks in advance,
warm rega...
Hi,
I am building a .NET 2.0 codebase, and i want to use any test framework library for unit testing the .NET 2.0 codebase. There are some build using .NET 3.5, is it still OK i use it as my unit testing tool to test .NET 2.0 code?
...
When I run doctests on different Python versions (2.5 vs 2.6) and different plattforms (FreeBSD vs Mac OS) strings get quoted differently:
Failed example:
decode('{"created_by":"test","guid":123,"num":5.00}')
Expected:
{'guid': 123, 'num': Decimal("5.00"), 'created_by': 'test'}
Got:
{'guid': 123, 'num': Decimal('5.00'), 'cre...
I am developing a ROR app that relies on many custom Rake tasks.
What is the best way to test them?
...
Hey,
I build web apps for a living.
An important but often painful process is client/user acceptance testing.
How do you manage this process?
i.e. How do you get them to test? Do you give them test scripts?
Do you give them a system to log bugs and change requests/feedback. How do you get the client to understand the difference betwe...
I have a test class:
require File.dirname(__FILE__) + '/../car.rb'
class CarTest < Test::Unit::TestCase
def test_set_color
assert_raise InvalidColorEntry "Exception not raised for invalid color" do
Car.set_color("not a color")
end
end
end
InvalidColorEntry is an exception class that I placed in the car.rb f...
The title is probably not very clear. I have the following example in mind:
an Authenticator object authenticates a user using credentials. It returns a AuthResult object. This AuthResult object says the authentication succeeded, or that it failed (and if so, why it failed, eg username not found).
How can I phrase this in a test? 'test...
At my current workplace, the production SQL server and web servers are also used as development and test servers. I've asked for dedicated servers, but been refused as I can't justify it to satisfaction (the reasons against being cost of software, software licenses and hardware resources).
So, what justifications are there for a dedicat...
We have tried to introduce unit testing front end logic on a recent project and the value of the tests are being questioned.
We were not code reviewing the tests so the quality of them is poor, developers copied poor tests creating more poor tests and so we have a lot of crap tests.
I still believe there is value in testing the prese...
I am developing a library for serial communications with an FPGA via RS-422 port. This library is part of a bigger project.
I know I can test some parts of it, as the message generation. You set the inputs, and you can test if the array of bytes match the expected one. But, what if I wanted to make a more general test, how could I gener...
I just found IE Collection, a multiple standalone IE installer (IE 1.5 through 8.0!) and it has been a great help for finding little rendering issues in my CSS. My concern is that our MCSE/IT guy says that it is a violation of Microsoft's redistribution rules.
Am I breaking the rules by using it?
Do others use IE Collection or other sta...
Does anybody know of a free/commercial tool that would automatically generate tests and stubs for C code to work with CUnit framework?
...