I would like to know what a Unit test and Web Test is in the .NET Framework and What are the difference between these tests? and How does it affect with the implementation of the CSLA.NET? Please help, thanks!
...
We're using RSpec and Cucumber in our Rails apps with good results. Webrat is great for non-AJAX interactions, but we're getting ready to get back into writing tests for our Javascript.
Webrat has Selenium support built in, and we've used Selenium before, but I'm curious if anyone has had good results using Watir with Cucumber and what ...
I would like to write some tests (the kind built in to Visual Studio 2008) against some ASP.NET pages in a forms-authenticated site, but I'm hung up on getting past the login page redirect --- I keep getting back a page of type ASP.login_aspx instead of the one I'm calling. Ideally, I'd like to have the test run while actually logged in...
So, carrying on with my new years resolution to get more in to TDD, I am now starting to work more with Rhino Mocks.
One thing I am keen to do is to make sure I really grok what I am getting in to, so I wanted to check my understanding of what I have seen so far (and I thought it would be good to get it up here as a resource).
What is ...
If a customer has a requirement - product names should not be more than 50 characters long, does this suggest a story/spec should be written for this if the framework being used already has a well tested validation framework (Rails for instance).
To be more general, should one test the specifics for each area of validation for the parti...
Hi guys,
This seems like a silly question but I would really like your comments and would like to validate my tester thinking..
I can think of following test cases:
1) Pop element from empty stack should return error
2) Push n+1 elements in stack should return error during insertion of n+1th element
3) validate empty,full and top func...
I'm doing development of a web application aimed at mobile devices. What software can I use to simulate/emulate mobile browser environments?
I'm specifically looking for a way to test on Mobile Safari, the Android browser, mobile Opera, Mobile IE, the Blackberry Browser and any other common platform I'm missing.
Note: I am using Windo...
Hi Everyone,
In our project, we have 20 simple web controls, 8 composite web controls including Ajaxable Custom Grid. And all modules are developed dependent to these controls.
And now I afraid to change a control, because it effects modules more then I think.
It's too late I know but I need to write some test cases for my controls.
...
I have the following controller action and test. I'm new to testing with Shoulda and I know there are areas of my controller that I can test further. For example, my flash messages as well as verifying the renders.
So my question is, how would I properly test this controller action in Shoulda?
My controller action (names have been ch...
Following on from my last question "What is a "Stub", I would really like to sit down tonight and play more with creating stub objects.
What is your tool of choice for creating Stub objects?
And for bonus points :)
Can you also link to any good tutorials for getting started with them?
Thanks a lot guys and girls, appreciated :)
FYI...
We use Selenium to test the UI layer of our ASP.NET application. Many of the test cases test longer flows that span several pages.
I've found that the tests are very brittle, broken not just by code changes that actually change the pages but also by innocuous refactorings such as renaming a control (since I need to pass the control's cl...
I have a degree in software development but found a job as a tester, I feel like testing has made me a better developer (before I'm even a developer).
I have noticed that the applications I make for myself, friends, and family, have become better and more stable since working as a tester. I think it's a good way to start a development ...
My team develops software using multiple languages. We have a server app in .Net and much of our client code is written in JavaScript. (The client code is actually for xulrunner applications, which don't have good testing tools right now, but I hope that is overcome someday.)
I like the idea, though, of having one testing tool that ca...
Currently I'm running instrumentations tests from the command line this way:
adb shell am instrument -w com.blah.blah/android.test.InstrumentationTestRunner
Is there a way to run them from Eclipse (with automatic installation of the application)?
...
Hi All --
Does anybody know of a good company that leases VMs so I can load test my web app? I need to be able to change the CPUs, memory and configure a virtual web farm.
Thanks
...
What ratio of [senior] developers to testers do people think is best?
Obviously this will depend partly on development/maintenance throughput, but is there a rule-of-thumb that a new company/project might work from?
Also, would you use 'pure' testers, or would you combine testing with other roles (e.g. documentation, user training, etc...
I'm building what could be called the DAL for a new app. Unfortunately, network connectivity to the database is a real problem.
I'd like to be able to temporarily block network access within the scope of my test so that I can ensure my DAL behaves as expected under those circumstances.
UPDATE: There are many manual ways to disable the...
I'm developing an ASP.NET 2.0 app using Visual Studio 2008.
If I want to run a really quick test on a method that's way in my back-end, is there a way for me to just call a main function in that class via command line?
Thanks
...
What are some situations where unit testing and TDD and the like are more trouble than they're worth?
Some things I've come up with are:
When generating test data is tricky: Sometimes, being able to come up with valid, non trivial test data is a challenge in itself.
When the only practical way of verifying correctness of the code is t...
I am a hacker not and not a full-time programmer but am looking to start my own full application development experiment. I apologize if I am missing something easy here. I am looking for recommendations for books, articles, sites, etc for learning more about test driven development specifically compatible with or aimed at Python web appl...