My tests fail when doing "rake test:functionals" but they pass consistently using autotest.
The failing tests in question seems to be related to Authlogic not logging in the user properly when using rake.
For facilitating signing in a user in tests, I have a test helper method as follows:
class ActionController::TestCase
def signin(...
Testers suppose to write test plan, write test cases, file bugs, and verify bug fixes. A senior tester should do things beyond that. Here are things I can think of that a senior tester should do:
Mentor other testers.
Create the test strategy for the whole team.
What are the other responsibilities of a senior tester that you can thin...
We are looking for QA tool that allow us to test functionality in our web applications. At this moment we QA all our work/enhancements/defects by hand, but we have so many webapps that is difficult to QA the entire site for a few changes.
We want to have a list of Test Cases that we will run every time we will push a change to developm...
I'm writing a program that creates and edits directories and files in a file system.
I want to write a test that does things like
(1) check if the given directory exists and
(2) create a directory within the existing directory.
What is the best way to test functionality like this?
Is there a way to fake a file system (e.g. in m...
Is there a way to modularize JMeter tests.
I have recorded several use cases for our application. Each of them is in a separate thread group in the same test plan. To control the workflow I wrote some primitives (e.g. postprocessor elements) that are used in many of these thread groups.
Is there a way not to copy these elements into e...
I need to run some classic ASP locally before deployment to a legacy web application. To make things worse, my current workstation is a Windows 7 Ultimate x64 with VS2008 environment.
What are my options for testing/debugging?
One option I tried was Baby ASP Server, but I am actually running an ASP script I know should fail (on Create...
How can I have the tests for my Rails app to be executed in a random order?
Is there a simple solution using rake?
...
Hi,
I'm trying to implement the repository pattern using a generic repository like the one found here: Implementing Repository Pattern With Entity Framework
I've created a test suite (I'm using NUnit) to test the repository but I've been having issues. Here's the error I'm getting:
MyBusiness.Test.Domain.RepositoryTest.SelectCol:
...
Edit #2: Does anyone have a good method of testing the "middle" of a client-server application where we can intercept requests and responses, fake the client or server as needed, and which provides self-documentation of the api?
Cucumber might be a good solution in many cases, but it's not quite what I'm looking for. And this middle la...
I am looking form a test automation frameowrk which can work in Clinet/Server architecture (distributed env) and support a mix of operating systems like Windows, unix/linux and Mac
I am currently evaluating and looking for only OpenSource solutions, I found just one framework
STAF , any help on pointing out other similar framework would...
In reference to this answer to a Stack Overflow question: what is
"bench-testing code"? (Not to be confused with benchmark.)
Presumably it is some kind of code that embedded inside
comments and used in the context of QA/testing. But what is it exactly?
...
I have a method that returns an IEnumerable that I want to be able to test. For the test inputs that I will be using, it will return approximately 10 values.
What is the cleanest way to write a test in this situation?
Update:
Many thanks for the answers so far. Several useful suggestions that I am now going to investigate.
I don't...
Hi,
I'm writing unit tests with NUnit and the TestDriven.NET plugin. I'd like to provide parameters to a test method like this :
[TestFixture]
public class MyTests
{
[Test]
public void TestLogin(string userName, string password)
{
// ...
}
...
}
As you can see, these parameters are private data, so I don'...
I am looking at developing an AI player for a simple game I have created in C#. I will be creating a population of the bots and evolving them over generations.
What I was wondering is there any frameworks out there that could be good for this sort of testing / development. Ideally I would like something that I could plug any / some ty...
Hello!
Until today I've developed and tested by myself all the versions of my app!
I would like to begin to release some versions for beta tester, to have a better product to release! But I really don't know how do that!
I had thought to upload the beta version on my website in a password protected folder and sent to my testers a notifi...
Our product includes some custom hardware, that connects to a PC via USB. We've started looking into automatic testing, but so far I'm unable to find a tool that can record/replay generic USB input.
Does anyone know of such a tool?
(And - it would be best if it's somehow scriptable - testing would have to alternate between GUI interac...
Hi!
I am trying to create a set of test case to cover my django application. I need pre defined database data, to run some of my test. So I decided to use fixtures.
What I did was:
1) created fixture file:
oleg$ python manage.py dumpdata goserver > fixture1.json
2) Placed the fixture in the directory where application lives
oleg...
I want to test a Ajax based web application. I want to write the test scripts in Java and simulate the web browser.
Simulation of a web browser is very important since Iam using very advanced Ajax library like jQuery in the web Application.
Any ideas on how I should proceed?
...
I am familiar with the concepts (took testing classes in college), but I am not sure how to really use them yet since I never worked on a "real" TDD project.
I am about to start the development of a project using Ruby on Rails (most likely using 2.3). This application will be used to manage data, users and some files. It won't be too co...
The scenario is as follows. My Order model has an after_create that contacts a remote payment gateway to retrieve a payment URL. In my Cucumber tests I don't want to perform this action, but return an arbitrary URL. My current cucumber tests looks like this:
Given there is a product "Product X"
When I enter my credentials
And I cl...