Hi,
I am wondering if there is a tool or technique which, given a BNF grammar, adjusts it randomly(but intelligently) and generates a stream of output for use in detecting cases that slip past the BNF (but shouldn't).
edit: Fuzz testing a parser, in other words.
Thanks
...
A friend has got an interview for a testing job. Apparently the job requires knowledge of VB6. My friend knows VB6 and she knows testing, but she and I are both wondering what is the relevance of VB6 to testing.
Is there some well-known standard way to test applications using VB6 that my friend should learn for this interview?
...
Why my NUnit tests execute in different order than they are listed?
And upon what the execution order depends?
...
What is the best way to solve programming questions when you are given a question to write a program, in an exam for example, where you have no computer to test it. Is there a certain technique that people use to help them solve these type of written problems? Or is it all down to knowledge of the language?
...
Asking this question again with smaller code sample:
# this is a dummy shoulda macro that creates a context
def self.macro_context
context "macro" do
yield
end
end
# i am expecting this test to fail within the macro context
context "some context" do
macro_context do
should "test" do
fail
...
Hi All,
I am loving the new world that is C#, I've come to a point with my toy programs where I want to start writing some unit tests.
My code currently uses a database via a DatabaseDataContext object (*.dbml file), what's the best way to create a mock for this object? Given how easy it is to generate the database LINQ -> SQL code and...
I have developed a basic Chat application in Java. It consists of a server and multiple client. The server continually monitors for incoming messages and broadcasts them to all the clients. The client is made up of a Swing GUI with a text area (for messages sent by the server and other clients), a text field (to send Text messages) and a...
i was running a test remotely on internet explorer, and when using navigate().to() selenium returns me this: "12:13:58.770 INFO - WebDriver remote server: Exception: The driver reported that the command timed out. There may be several reasons for this. Check that the destinationsite is in IE's 'Trusted Sites' (accessed from Tools->Intern...
Hi,
I'm testing the CRUD operations of my DAOs in JUnit tests.
When i execute the single test, Hibernate always resets the schema and populates the DB in a known state. But when i execute multiple tests in a row, Hibernate resets the schema once, and then the data is accumulated during the execution of the tests.
This is an unexpected...
There's a TImage component on a form in my program.
In some situation, the program must test:
If "there is an image assigned to the picture property of the TImage component" then
.............
How can I do this?
Thanks in advance.
...
Hi,
I am new to mobile test automation. Kindly suggest test automation tools available for blackberry and iPhone.
...
have to check some formulae whether they are providing correct result, these formula are written part of a VB program, what is the best tool\method to unit test these formula?
...
Tools such as WebAii can be used to visit a website, and with a simple loop, in succession.
If I code a lot of hits to a site in succession and/or with the ability for custom patterns, is this the same functionality as a load/stress testing tool?
Thanks
...
Hi,
I have seen VS2010 exposing Network Emulator API. I have installed it and trying to use this API, but not able detect whether it is really running with this code or not. Sometime I have given wrong profile name but it does not throw any error. Please find below my piece of code. If some one have used it please help me.
IntPtr m_emu...
How do you best test commercial windows .NET applications on different environments? (XP, Vista, Win 7, Terminal server, Citrix)
I was thinking of MS Virtual PC, together with some ghosting software like Acronis .. http://www.acronis.com/enterprise/
What are good, tested test setups ? :-)
.......................................
Than...
I need a URL to just test basic http connectivity. It needs to be consistent and:
Always be up
Never change drastically due to IP or user agent. (IE: 301 Location redirect/ huge difference in content... minor would be tolerable)
The URL itself has a consistent content-length. (IE: it doesn't vary from by 2kb at most, ever)
A few exam...
I have an INSTEAD OF trigger on a table in my SQL Server 2005 database that checks several incoming values. If an incoming value is invalid, an error is raised and the transaction is rolled back. Otherwise the record is inserted.
I would like to include a TSQLUnit test of this trigger where, if an invalid value is inserted, having the...
I have a number of test cases using groovy.
I want to be able to have the test case fail but to carry on with the rest of the script. Tried using:
testRunner.fail( "It didn't work" )
also tried
assert false : "It didn't work"
but they both abort the test case even if the abort on error is unchecked.
Any ideas?
...
I have a client program based on LibCurl. I have run into a situation where on some occasions a program on the server runs longer than the configured IIS timeout. IIS then terminates the program and returns a 502 error status to the client.
I have added code to the client to capture this issue. Now, I need to find a way to prove that...
I have just installed Rspec and Rspec-rails. When i try to run the test, it says:
rake aborted!
Command /opt/local/bin/ruby -I"lib" "/opt/local/lib/ruby/gems/1.8/gems/rspec-1.3.0/bin/spec" "spec/controllers/free_controller_spec.rb" --options "/Volumes/Trash/dev/app/trunk/spec/spec.opts" failed
Full log here: http://pastie.org/939211
...