testing

How are you using Team System to track manual testing?

We're considering doing the following: Store manual test scripts in Sharepoint Create a new "Test Run" Work Item type in Team System On each run of the test, create a new Test Run item, linking it to its manual test script On each run of the test, store the test evidence on the Test Run Work Item as a file attachment One problem with...

Best way to measure execution time in automated regression tests

I have some code that I want to measure the speed of while it runs continuously in automated regression tests. The purpose of this would be to alert me to changes made to the code which have had a negative impact on performance. In pseudo-code, I want something like this: cpuTimer.start runTest cpuTimer.stop diff = cpuTimer.getDuratio...

Test Harness Software

Our current test system harness was originally written in 16 bit Clipper 13 years ago and is starting to show it's age. The tests themselves are all written C and ran as executables. While there are solutions for recompiling Clipper code into a 32 bit executable, we would rather move to a more mainstream programming language. The te...

What causes difference in VB6 app testing result when running from Dev machine vs installed?

Hi Guys, I'm new to VB6 but i'm currently in charge of maintaining a horror of editor like tool with plenty of forms, classes, modules and 3rd party tools all chunk together like the skin faces on that guy in the texas chainsaw massacre... What i don't understand is why i get different results when i run the app in debugging mode, vs wh...

Am I unit testing or integration testing?

I am starting out with automated testing and I would like to test one of my data access methods. I am trying to test what the code does if the database returns no records. Is this something that should be done in a unit test or an integration test? Thanks ...

XMLUnit for C++

Hi, Anyone knows if there exists something like XMLUnit for C++. I'm looking for an easy way to check nodes, values, etc in a XML output. We are using google test in Visual Studio but I suppose any library that makes the work easier will be enough... I'm using Xerces as a XML parser but XMLUnit (http://xmlunit.sourceforge.net/) has s...

Testing: unit vs. integration vs. others, what is the need for separation?

To the question Am I unit testing or integration testing? I have answered, a bit provocative: Do your test and let other people spend time with taxonomy. For me the distinction between various levels of testing is technically pointless: often the same tools are used, the same skills are needed, the same objective is to be reached: remov...

What books do you recommend reading for QA/Test ?

I'm looking for a list of books which people think are essential for a developer in a test/QA role to read. I'm looking for books which are test/QA specific, so not things like data structures or algorithms. Rather I'm looking for books like testing methodology. ...

Why is this Rails controller test failing?

I'm trying to understand why this test is failing. (I'm kind of new to testing.) I'm using the built-in Rails testing framework with the addition of the Shoulda gem. The test: require 'shoulda' context "on GET to :new" do setup do get(:new) end should_render_template :new should_not_set_the_flash end Fails: 1) Failur...

How to pass parameters to a test script in Jameleon?

Jameleon is an automated testing framework (built on top of Jelly). I have been using Jameleon at one project to write automated tests in xml format. It works fine for simple tests but I am starting to feel that it has some serious limitations. There is a set of steps that are common to a lot of my test cases and I would like to create ...

Hacking your own application

I am a web developer that is very conscious of security and try and make my web applications as secure as possible. How ever I have started writing my own windows applications in C# and when it comes testing the security of my C# application, I am really only a novice. Just wondering if anyone has any good tutorials/readme's on how to ...

What is Unit test, Integration Test, Smoke test, Regression Test?

What is Unit test, Integration Test, Smoke test, Regression Test and what are the differences between them? And Which tools can I use for each of them? For example I use JUnit,NUnit for Unit testing and Integration Testing. Are there any Smoke Test,Regression Test tools? ...

Why do you use .proxy() in JMock?

Hi, I'm trying to learn how to use JMock and I'm a bit confused about what you use the .proxy() method for. I know its invoked on your Mock class but I don't understand what its puprose is. I haven't had any luck finding a good description about how it works on google. Any help is much appreciated. ...

using junit 4 in grails

I'd like to use some JUnit 4 functionality in my grails testing, but currently grails tests run under JUnit 3. JUnit 4 can be used from groovy but replacing the JUnit jar within grails with a JUnit 4 one doesn't seem to enable the functionality I'm looking for. Anyone know how I can get grails to run my tests with junit 4? ...

Why are my fixture objects not available in my Rails Test::Unit test?

According to this Rails guide, if you create a fixture, it becomes available in your test class. I have this fixture in users.yml: <% stan = User.new stan.username = 'stan' stan.set_hashed_password('mysterio') stan.email = '[email protected]' %> stan: username: <%= stan.username %> hashed_password: <%= stan.hashed_password %> ...

Testers in Software Development

In my company we develop a software product. Until now we haven't had any testers, so basically the developers were the testers, and of course the customer and users (not good). Our team now consists of 4 developers and we work mainly with Cruisecontrol, Flex, ASP.NET, IIS, MSSQLServer and WebORB. I am urging the managers to hire a test...

What do testers do?

I work in a company where the developers QA the work of the other developers checking things such as adhering to coding standards through to whether it works or not. Now this seems to work extremely well for us but I can't help feeling we are wasting development time on something a dedicated tester or testers could do. The problem is I...

How do you specify POST params in a Rails test?

Working with Test::Unit and Shoulda. Trying to test Users.create. My understanding is that Rails forms send params for an object like this: user[email] Which turns into hash in your action, right? params[:user][:email] OK, so in my test I've tried... setup { post :create, :post => { 'user[email]' => 'invalid@abc' } } and setup ...

removing junit testing to build in ant

Not so much a programming question but I figured I'd ask anyway. How do I make it so ant doesn't require that all the junit tests pass before building? In netbeans I can build the project without it testing first. However, when I run ant, it makes sure all my junit tests pass first. I am running ant from the command line in my netbea...

Besides "all of them" as an answer, what type of applications (be specific) have had true success with unit testing?

What type of applications did you use this TDD, unit testing approaching (web app, compiler, rails, etc?). What language was your application written in? Did you use a preexisting unit testing frameworking like junit or nunit or did you you rollo your own. Did you use automatically code generate your test cases or was most of the work t...