When saving an object by calling Entity.create(:name => "Entity1") from the Rails console in the testing environment (RAILS_ENV=test rails console) the "Entity1" object correctly appears in the test database (MySQL) when checking it with a mysql client.
But when doing the same stuff in an rspec file (entity.create(:name => "Entity1"); sl...
Hi,
I am currently doing a project on person name disambiguation. The idea behind the project, that it will be able to identify the correct person, when there are multiple people with the same name. I have used wikipedia for this. I want to evaluate my project on some standard data. I am looking for some testing data. I am not familiar ...
I've found myself doing this a lot lately... how can I improve the declaration of the paperclip fixture? (sorry, noob question I know)
class ProjectTest < ActiveSupport::TestCase
def xxx
project = Project.new({
:name => 'xxx',
:attachment => File.new(Rails.root + 'test/fixtures/files/attachments/xxx.psd')
})
p...
I'm new to C#4 and WPF and I'm about to start a new application.
Coming from a C++/MFC world, I'm interested in testing strategies used with up to date technologies.
From instance :
Unit Testing
Functionnal testing
UI Testing
other?
Any advices would be appreciated.
Thanks
...
I installed integrity app these days. and found some issues.
I follow this.
$ gem install bundler
$ git clone git://github.com/integrity/integrity
$ cd integrity
$ git checkout -b deploy v22
$ bundle install
$ bundle lock
$ rake db
at the end steps, I can't find and folders named ".bundle" in the integrity folder.
an...
I've read some of the topics on stress testing but what options are there for testing a site that uses membership to simulate many concurrent users logging/logged in? I guess one could use/create custom scripts but that would also proliferate the database.
How do some of the 'big boys' do it? BTW maybe stress testing isn't exactly what ...
I have a rubygem that defines a custom SemanticFormBuilder class which adds a new Formtastic input type. The code works as expected, but I cannot figure out how to add tests for it. I was thinking I could do something like load up Formtastic, call semantic_form_for, and then ad ann input that uses my custom :as type, but I have no idea w...
I need to test file upload feature in my web application. User can choose a file in windows explorer, drag it to a container in a browser, and file gets uploaded.
I guess i need a simple UI testing tool which allows drag-and-drop between 2 arbitrary windows.
What testing tool is the best for that?
...
I am using the @BeforeClass annotation to ensure that a set of activities are done just once in a set of 5-6 tests. There is a hierarch of 3 java files.
File1 extends TestCase
File2 extends File 1 (this is where i have to put the beforeclass annotation at the setUp method)
File3 extends File2 (File 3 has the tests.. 5 in number, b...
I have 2 thread groups in my test case. Group A should complete first before Group B starts to execute(at least I though this was the way it worked).
Unfortunately they are firing at the same time and tests from both tread groups are executing, what can I do to prevent this from happening. Not to allow group B to start before group A i...
Hi,
I've been working with django a lot. Now I have an app with JavaScript integrated which I want to test. What's your favorite way to integrate real-browser-tests in the django unittest environment? twill? selenium? windmill?
...
We have an Oracle Enterprise database in production and another instance that we use as both a QA and Development database. QA has requested that they be given separate schemas within the database so they can test applications isolated from changes made by developers. For an example, say the schema used in development and the one that ...
In short, does anyone know of a JMeter workaround to mask/encrypt values sent as an HTTP request parameter?
My company has a rule that user name/passwords cannot be stored in scripts.
In my JMeter scripts, I've gotten around this by passing the user name/password through the command line and storing them as properties to be retrieved l...
I am learning building php unit tests using PHPUnit . There they have a manual and I encountered this example Where they use assertEmpty(), but when I run this code in command line I get this error : Call to undefined method StackTest::assertEmpty() in /var/www/.../tests/StackTest.php on line 20. So if this method is deprecated or someth...
I've been designing and developing websites for a number of years now, however, whenever I make changes to a website I take the bad approach of making a modification, replacing the orignal on the web server, testing in browser and making more changes as needed. I'm looking for a better way to do this. Alternatively sometimes I'll work on...
I have some code acting as an HTTP client which supports basic authentication as well as NTLM authentication. I can easily test that basic authentication works by requiring a username/password to access a file in the .htaccess on an Apache server. But how can I test NTLM authentication, short of installing IIS? Are there by any chance an...
In our team we faced problem of manual tests management.
We have a suite of unit tests that keeps the project stable but we also ocasionally test our aplication manually based on some scenarios (to check if everything is OK on the highest level).
The question is: how to effectivelly manage manual tests scenarios? They can change from ti...
Does anyone know where the latest Internet Explorer Application Compatibility VPC Images are?
These ones expired 1st October 2010
http://www.microsoft.com/downloads/en/details.aspx?FamilyId=21EABB90-958F-4B64-B5F1-73D0A413C8EF&displaylang=en
Cheers,
-- Lee
UPDATED : If you're reading Microsoft..
This is not the user experience ...
Hi, I normally ask this question in a interview for tester. Our software is really complex, has GUI and backend component. We require the tester to be good in analytical and can think out of the box. In this context, is the following question good to be asked or is it too complex/bad/ugly? Also our requirement is that the tester should b...
In Java or Ruby, there are many talks about test/TDD/BDD. and there are many tests in Java/Ruby projects.
But I notice that, there are less tests in PHP project, and It seems like PHPer does not like to write tests, I just want to know the reason. thanks
...