I just started a new Haskell project and wanted to set up a good testing workflow from the beginning. It seems like Haskell has a lot of excellent and unique testing tools and many different ways to integrate them.
I have looked into:
HUnit
QuickCheck
benchpress
HPC
complexity
Which all seem to work very well in their domains, but ...
Hello,
I've always worked alone and my method of testing is usually compiling very often and making sure the changes I made work well and fix them if they don't. However, I'm starting to feel that that is not enough and I'm curious about the standard kinds of tests there are.
Can someone please tell me about the basic tests, a simple e...
At the moment i use selenium using HTMLSuite. The command i use to start the server and run the a testsuite is shown below
java -jar selenium-server.jar -htmlsuite "*iexplore" "http://localhost:8080" "C:\test\testsuite" "C:\test\result_%Yr%%Mth%%Day%.html"
I have some testsuites which have some sql scripts which need to be run first. ...
My DAO integration tests are failing because entities created during the tests are still in the database at the start of the next test. The exact same behavior is seen from both MySQL 5 and H2.
The test classes are annotated with:
@Transactional
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration( { "/testPersist-application...
My Google-fu is weak and so I turn to the hive mind...
I have a Selenium script I originally developed in the IDE, which I am now trying to adapt to run on IE8 via Selenium-RC. I'm trying to debug an error where an element is not being found.
The problem is that as soon as the error occurs, the script exits and RC closes the browser. ...
I am testing a blackberry app that sends SMS messages. I would like to use the simulator for testing, but since SMS doesn't work on the simulator I would like to have an alternate code path to handle the interaction. What is the right way to detect that the app is being run under a simulator, instead of an actual device?
...
I am novice.NET programmer. I've learned C#, Windows Programming, SQL Server 2005, ASP.NET 3.5. I want to ask if it would be difficult or not appropriate for me to start working at a job which requires ASP.NET MVC and Test Driven Development. I've already obtained the book "Pro ASP.NET MVC Framework", but this book overburdens me. So wha...
I've tested my app thoroughly on the simulator, but I don't have an iphone/ipad/ipod touch on which to test the app. Are there likely to be bugs that dont expose themselves until I test it on the device?
if i had a macbook, id take my code along with me and meet up with a friend or a stranger to test the app, but im working with a mac ...
Does anyone have experience building a .NET test execution harness that can execute the logic in existing QuickTest Professional VBScript automation scripts, but without starting an instance of QTP? We are in the process of transitioning to Visual Studio 2010 and the related test management tools, but we can't (justifiably) throw away o...
I'm working at a development shop that is using outdated bug tracking
software. They're currently weighing in on alternatives to replace it.
This software tracks our bugs, as well as tasks for new feature requests.
We build a core application that we configure and support for a variety of clients. In this vein, we do have customer ser...
When i create a mock object of say class Employee. It doesnt call the constructor of Employee object. I know internally Mockito uses CGLIb and reflection, creates a proxy class that extends the class to mock. If it doesnt call the constructor of employee how is the mock instance of employee class created ?
...
I would like to test the logging that happens in our app (an embedded ftp server) when a 'connection reset by peer' error occurs. This post explains the source of the error pretty well, but doesn't really explain how to cause one. Does anybody know a way to trigger this error for a TCP connection?
...
I have an application and I would like to debug its input/output behaviour the same way I can do in a Web environment with Selenium. Do you know any easy to use application for this matter?
...
Hi, I'm writing a jmeter script and I have a huge csv file with a bunch of data which I use in my requests, is it possible to start not from first entry but from 5th or nth entry?
...
Hi.
I started to create a rails plugin which includes some class and instance methods of Controller and Model.
I fist tried to setup the tests for the Model.
Add a models directory in my test dir. But i noticed - i need the geokit-rails plugin for my model to be able to "acts_as_mappable"
How to get the plugin into the test dir?
I try...
Hi, I recently installed Microsoft Test Manager 2010 and this is my first experience with this style of testing. My usual method of testing is to load up a few different web browsers and run through an application.
The reason I moved to Test Manager was because our application has become quite large and complex and a better way of test...
I currently have a project and tests similar to these.
class mylib:
@classmethod
def get_a(cls):
return 'a'
@classmethod
def convert_a_to_b(cls, a):
return 'b'
@classmethod
def works_with(cls, a, b):
return True
class TestMyStuff(object):
def test_first(self):
self.a = mylib...
Hi
I been trying MS Test manager 2010 and man it sucks bad. It's got huge potential but right now it sucks and is too buggy and crashes on all my development machines every few mins.
So is there any free software what can sort of do it the same thing?
Like what I liked about it is this.
It had a nice check list on the side you woul...
When building websites I commonly use tools such as http://browsershots.org to ensure that my pages looks reasonably OK in the different browsers. I am however starting to get complaints about a heap of mobile browsers running on different portable devices.
My question is simply how do one best carry out mobile cross-browser tests ? (an...
What I mean by that is, which tools are for unit testing, which for BDD, is there even a clear divide?
I'm just learning Ruby from C#, and the tools I'm familiar with there are xUnit-style for pure unit testing/TDD, and Cucumber/SpecFlow for BDD/integration testing. Of course, you can use unit testing tools for integration testing if y...