
Average Reviews:

(More customer reviews)Are you looking to buy Testing ASP.NET Web Applications (Wrox Programmer to Programmer)? Here is the right place to find the great deals. we can offer discounts of up to 90% on Testing ASP.NET Web Applications (Wrox Programmer to Programmer). Check out the link below:
>> Click Here to See Compare Prices and Get the Best Offers
Testing ASP.NET Web Applications (Wrox Programmer to Programmer) ReviewI got a copy of "Testing ASP.NET Web Applications" a while ago but it's taken me some time to get through it because I wanted to dedicate the time and attention to it that it needed. There really aren't many decent books that discuss testing all different aspects of web applications (though there are several dedicated specifically to security testing). The content in this book is something I've been trying to find for a long time in a format aggregated all together in one place and, despite a few rough edges, I'll be recommending it to my QA friends this year.I'll run down the content chapter by chapter so you can see what's inside and decide for yourself.
CHAPTER 1: PRELIMINARY CONCERNS
The first chapter gives a nice, concise history of testing tools starting from sUnit (Smalltalk unit testing) and bringing us through today, so you can see where we've been. It also provides a really nice terminology list. I may have to blow the terminology list up and attach it to my wall so I can point to it and make sure in discussions that everyone's on the same page, talking about the same thing. Finally, there's a good test-related "mythbusters" section you can use to get testing moving forward in your organization.
CHAPTER 2: DESIGN AND TESTABILITY
This chapter starts off with a summary overview of what makes a good unit test. I agreed with some points and disagreed with others, but the qualities that "make a good unit test" are sort of a religious debate that people can't agree on - for example, naming conventions. That said, they revisit what makes a good unit test at the end with a checklist of sorts that is really good. They talk about the design of your code and how it affects testability, discussing the SOLID design principles, and test smells (fragile tests, slow tests, etc.) you might encounter. They do touch lightly on pair programming and test driven development in this chapter (saving the details for the next chapter) but they don't discuss it in a dogmatic way, which is a nice change from most articles you'll read on the subject.
There is a section on refactoring in chapter 2 that felt somewhat out of place, like they wanted to relate the refactoring examples to how easy refactoring can be if you design your code well, but it really felt bolted on and distracting.
CHAPTER 3: UNIT TESTING AND TEST DRIVEN DEVELOPMENT
The chapter on unit testing and TDD should have been one of the best chapters, but it wasn't as helpful as I'd hoped it would be. Since this is an ASP.NET specific book, the aim of the chapter should have been to explain how to get testing running in ASP.NET - web forms and MVC. Of the 50 pages in the chapter, about two talk about web forms and the model-view-presenter way of separating concerns and getting web forms testable. The rest of the time is spent on ASP.NET MVC and setting up an example application that gets used through the rest of the book. While I agree with the authors that MVC is a far more testable framework, that doesn't help the people who have legacy applications or who are otherwise stuck on web forms. There is a tiny bit at the end that basically says, "It's not worth much to try retrofitting unit tests to web forms" (without saying those exact words). I feel like there was a huge opportunity missed.
As for MVC, the authors suggest a different "default project structure" than the one provided by ASP.NET MVC out of the box, and I only partially agree with the proposal. The idea is sound, but it would be nice to see things in a stock fashion since a new project structure really only applies to Greenfield work.
The walkthrough of creating the demo application is very valuable and shows the red/green/refactor process of test driven development well. If you're unfamiliar with this process, it's good to see it. Of course, they also introduce a lot of patterns and concepts very quickly with little ceremony (e.g., the repository pattern, NHibernate usage, etc.) and that's a lot to take in, so be patient.
CHAPTER 4: INTEGRATION TESTING
This chapter is a pretty short chapter and talks about the differences between unit testing and integration testing, then runs through adding some integration tests to the sample application so you can get a feel for doing that.
CHAPTER 5: AUTOMATED USER INTERFACE TESTING
This chapter breaks down the different types of functional testing and talks about the benefits, drawbacks, and challenges of automating the UI. The discussion of challenges is really good, listing different ways your UI automation tests can fail. It definitely gives you something to think about as you head down this road.
They break down different tools and approaches to UI testing with a primary focus on WatiN, Visual Studio Web Tests, and Selenium usage. They then show how to apply these tools to automating the sample application so you can see them in action. (There is also a section on qUnit - unit testing for JavaScript - at the end of the chapter, but it's really thin and feels like an afterthought.)
During the automation of the sample app, there is a little bit of distraction as the authors get a little lost in the weeds introducing test data generators with fluent interfaces right in the middle. For automated UI testing you do need some test data to populate the system with, but it's really confusing and distracting plopped right in the middle of everything.
CHAPTER 6: ACCEPTANCE TESTING
The chapter on acceptance testing starts off with some good terminology, but then dives into Scrum project management methodology. It feels like they're taking you on a ride, but if you have a little faith, you'll see how they bring you back around to testing. It's a worthwhile detour, even if it feels a little abrupt.
They focus on FitNesse and Cucumber as the two acceptance testing frameworks and show you how to get each running. I read the FitNesse section twice and still didn't really get it. There were lots of wiki screen shots and tiny code snippets, but nothing that was complete enough. It took skipping forward to the example section and once I got it, I started questioning if the work involved was really worth it. On the other hand, Cucumber seemed reasonably straightforward (though it, too, didn't come clear until seeing a real example rather than just reading about it in hypothetical terms).
I'm not sure the acceptance testing chapter accomplished for me what it set out to. After seeing all of the work and "glue code" required to get the business users the ability to write tests, I wondered if it might be time better spent getting them to write use case documents and having the developers write WatiN tests to associate with those documents. (Of course, in thinking that, maybe I missed the point.)
CHAPTER 7: MANUAL TESTING
This chapter talks about the things to look for in manual testing - usability, documentation, error messages - as well as scenarios you might look for - session timeouts, disconnected/down services, network issues, etc. It provides a few tools that can help you in manual testing and explains how to document manual test cases. It's not a long chapter, but it's nice to formalize some of this stuff, or at least give teams a place to start discussing. "Manual testing" isn't just "jump in and start clicking buttons."
CHAPTER 8: PERFORMANCE TESTING
Of all the chapters in the book, this one was my favorite. It starts off by giving a high-level description of what performance testing is and then it dives right in. There is some great guidance on establishing baselines and expectations as well as capturing requirements. It gives you a lot to think about and discuss with your customers around performance and gives a good set of questions to ask about it.
They provide a great list of tools you can use to measure performance and shows a sample run of each one. I was really happy with this bit because it was like having someone evaluate all of these tools for you, show you the outputs, and help you decide which one you like best. Really helpful.
They outline the components of a performance test environment and explain some of the relevant performance counters you should watch when running tests and what they mean.
Finally, they correlate performance testing with capacity planning so you can take the numbers you record and start figuring out what kind of resources you'll need to address your site's target audience.
CHAPTER 9: ACCESSIBILITY TESTING
Right after the chapter on performance testing, this was my next favorite chapter. There's a nice "accessibility mythbusters" section to disprove common misconceptions about accessibility and the web and a good discussion about the benefits of making your site accessible.
One of the nice bits about this chapter is that they take the time to discuss a few of the disabilities that people visiting your site might have and then provide simulated screen shots showing what users with these disabilities might be seeing. (Granted, the book is printed in black and white so the screen shots showing "color blindness" are less than effective, but the rest are good.)
They talk about several things you might see in web sites - images, graphs, forms, lists - and how to make them accessible. They also talk about other things to look for like acronym usage and CAPTCHA and how those aren't accessible. While they touch briefly on audio/visual media, not much help is offered beyond descriptions of what you could possibly do (not how to do it). Same thing with JavaScript - they talk a bit about what to do and what not to do, but don't really show any examples...Read more›Testing ASP.NET Web Applications (Wrox Programmer to Programmer) Overview
A unique resource that combines all aspects of Web testing and makes it completely specific to ASP.NET
As Microsoft's key Web technology for creating dynamic, data-driven Web sites and Web applications, ASP.NET is incredibly popular. This is the first book to combine several testing topics and make them specific to ASP.NET. The author duo of Microsoft MVPs covers both the test-driven development approach and the specifics of automated user interface testing; performance, load, and stress testing; accessibility testing; and security testing.
This definitive guide walks you through the many testing pitfalls you might experience when developing ASP.NET applications. The authors explain the fundamental concepts of testing and demystify all the correct actions you need to consider and the tools that are available so that you may successfully text your application.
Author duo of Microsoft MVPs offer a unique resource: a combination of several testing topics and making them specific to ASP.NET, Microsoft's key Web technology for creating dynamic, data-driven Web sites and applications
Guides you through the many testing pitfalls you may experience when developing ASP.NET applications
Reviews the fundamental concepts of testing and walks you through the various tools and techniques available and for successfully testing an application
Discusses several different types of testing: acceptance, stress, accessibility, and security
Examines various testing tools, such as nUnit, VS test suite, WCAT, Selenium, Fiddler, Firebug, and more
This one-of-a-kind resource will help you become proficient in successfull application testing.
Want to learn more information about Testing ASP.NET Web Applications (Wrox Programmer to Programmer)?
>> Click Here to See All Customer Reviews & Ratings Now