i want to test some "random" numbers in (0 1). i will test them with the diehard tests battery, but i dont know if it tests numbers in (0 1). so diehard test any kind of numbers, or it just test intergers?
Hi,
In my selenium test suite (html), I define a first test case to initialize variable called in the next test case.
Sample :
In first script :
store|//div[@id="myfield"]|myvar
In my second script :
type|${myvar}|myvalue
But when I start test runner (from maven), it returns an error telling that ${myvar} is not found
The value contained…
We use Boost statically linked with our app but now I wan't to use Boost Test with an external test runner and that requires the tests themselves to link dynamically with Boost.Test through the use of the required BOOST_TEST_DYN_LINK define.
Is this going to be a problem or is the way Boost Test links completely unrelated to the way the other…
So here is a question for you, having read some great answers to questions such as "Test-Driven Development - Convince Me".
So my question is: "Can Test-Driven Development be used effectively on non-Greenfield projects?"
To specify: I would really like to know if people have had experience in using TDD in projects where there was already…
I have a site that physically has this directory structure.
-public_html
--conf > contains file conf.php
-SiteFiles
-LiveSite > contains file ConfLive.php
Directory public_html/conf/ contains a file called conf.php
this file contains the following include
include_once('/home/mydir/SiteFiles/LiveSite/conf/ConfLive.iphp');
I…
Hi,
We are facing one problem in managing test data(xmls which is used to create mock objects). The data which we have currently has been evolved over a long period of time. Each time we add a new functionality or test case we add new data to test that functionality.
Now, the problem is when the business requirement changes the …
I have a interface in our code base that I would like to be able to mock out for unit testing. I am writing a test implementation to allow the individual tests to be able to override the specific methods they are concerned with rather than implementing every method.
I've run into a quandary over how the test implementation should behave…
I'm currently creating my own CMS for personnal use but I'm blocked at a code. I'm trying to make a installation script but the AJAX request to test if database works, doesn't work...
There's my JS code:
function testDB()
{
"use strict";
var host = document.getElementById('host').value;
var username =…
I am new to SQLAlchemy (and SQL, for that matter). I can't figure out how to code the idea I have in my head.
I am creating a database of performance-test results.
A test run consists of a test type and a number (this is class TestRun below)
A test suite consists the version string of the software being tested,…
All the log entries generated when running tests with 'rake' are written to my development.log instead of test.log file
Do I have to explicitly enable logging for test in enviornments/test.config?? (I'm using 'turn' gem to format test output, Can that cause an issue?)
I'm running rails 2.3.5, ruby 1.8.7
I've all…
The Problem
I've got a Cocoa project on the desktop and I'm using Xcode 3.2.1 on Snow Leopard 10.6.2.
I want to generate code coverage files for my Unit Test Target in Xcode.
What I've Tried
As articles like this one suggest, I've adjusted the build settings to:
“Generate Test Coverage Files” checked…
I'm trying to run a blank default performance test with Ruby 1.9 and Rails 2.3.5 and I just can't get it to work! What am I missing here???
rails testapp
cd testapp
script/generate scaffold User name:string
rake db:migrate
rake test:benchmark
-
/usr/local/bin/ruby19 -I"lib:test"…
The Boost.Test documentation and examples don't really seem to contain any non-trivial examples and so far the two tutorials I've found here and here while helpful are both fairly basic.
I would like to have a master test suite for the entire project, while maintaining per module…
Is it possible to tell JUnit 3 to use additional method name prefix when looking up test method names?
The goal is to have additional tests running locally that should not be run on continuous integration server. CI server doesn't use test suites, it look up for all classes which…
SOF, I've got a few problems plaguing me at the moment and am wondering if anyone could assist me with them.
I'm trying to get Next Class | Previous Class to act as buttons so that when Next Class is clicked it will go to the next item in the dropdown list and for previous it…
Yeah, I can fire up a VM or remote into something and try the password...I know...but is there a tool or script that will simulate a login just enough to confirm or deny that the password is correct?
Scenario:
A server service account's password is "forgotten"...but we think…
I wrote a test case that extends AbstractTransactionalJUnit4SpringContextTests. The single test case I've written creates an instance of class User and attempts to write it to the database using Hibernate. The test code then uses SimpleJdbcTemplate to execute a simple select…
I just learned about the Joel Test. I have been computer programmer for 22 years, but somehow I never heard about it before. I consider my best job so far to be this small investment managing company with 30 employees and only three people in the IT department.
I am no…
Hi all,
I'm using Eclipse CDT and Boost.Test(with Boost.Build).
I would like Eclipse to parse output of Boost.Test generated during by run of test suites during build.
Does anybody know how to achieve this?
Thanks in advance
In Visual Studio 2010, I have a number of unit tests. When I run multiple tests at one time using test lists, I sometimes reveive the following error for one or more of the tests:
The agent process was stopped while
the test was running.
It is never the same test…
Hi all
I have the situation as follows
I have develpoed one test project in visual studio 2008 to test my target project.
I was getting the following exception when i ran test case in my PC
System.IO.FileNotFoundException: The specified module could not be found.…
Hi all,
I am trying to integrate unit test cases with a TFS build in our new solution. I've include the following configuration line in my TFSBuild.proj
<ItemGroup>
<TestContainer Include="$(OutDir)\%2aTest.dll" />
</ItemGroup>
Which I…
Is it possible to run PHP Zend test cases (those that extend Zend_Test_PHPUnit_ControllerTestCase, etc.) through Eclipse PDT?
I would like to be able to run them in a similar fashion as you run JUnit tests in Eclipse, by right-clicking the test file and…
Newcomer to Spring here, so pardon me if this is a stupid question.
I have a relatively small Java library that implements a few dozen beans (no database or GUI). I have created a Spring Bean configuration file that other Java projects use to inject my…