| |
browse.develop.com
Browse.develop.com is a community that was established to collect and
organize valuable web information. Our technical staff have selected and
indexed information and courses that they feel will help you stay
current on best practices across the SDLC.
|
6 Articles match "Web"
See all articles with
"Web"
| The Latest from Llewellyn Falco's Approval Tests | MORE | | What’s new in ApprovalTests.Net v.20? Unfortunately, when using this method it’s a bit tricky to use a file launcher, since the web server dies BEFORE the browser can hit it. ASP routing support As community contributor, Krzysztof Ko?mic mic said in his NDC talk … Using ApprovalTests makes what was implicit , explicit so that the item can now be tested Inspired by his talk, Jim Counts and I created a new method in AspApprovals to make the formerly implicit ASP routing explicit and now easily able to be tested. This can be particularly troublesome when changing an existing, unfamiliar piece of code. Happy testing. DevelopMentor Courses - Thursday, August 9, 2012 Using Reporters in Approval Tests While the screenshot above will help you to understand what the web page LOOKS like, it won’t help you to figure out why the test is no longer passing. Today I pushed new versions of ApprovalTests for both C# and Java to SourceForge. Updates include new capabilities around the Reporters feature set for ApprovalTests. These enhancements were driven by feature requests from Peik Aschan(@peikas). He and I pair-programmed remotely (he lives in Finland) to extend ApprovalTests per his ‘asks’. Why Use Reporters? The three reasons for using different types of reporters are as below. png, *.html, DevelopMentor Courses - Saturday, December 31, 2011 Testing Asp.Net pages Note : If you want to test something that isn’t the “end result” of a web page, simply pull that logic into a separate classmethoddll and test it normally. TestMethod) Architecture : The Normal architecture when testing web pages is as follows The strategy I've developed is very simular to this, but allows for better "test functionality" by adding a test method IN the aspx page, and then allowing a secret handshake, or backdoor to the aspx page to run that scenario. Here is the strategy I’ve been using for unit testing Asp.Net pages. Approvals.ApproveAspPage(new AspxClass ().TestMethod) DevelopMentor Courses - Sunday, July 3, 2011 | | The Best from Llewellyn Falco's Approval Tests | MORE | | Using Reporters in Approval Tests While the screenshot above will help you to understand what the web page LOOKS like, it won’t help you to figure out why the test is no longer passing. Today I pushed new versions of ApprovalTests for both C# and Java to SourceForge. Updates include new capabilities around the Reporters feature set for ApprovalTests. These enhancements were driven by feature requests from Peik Aschan(@peikas). He and I pair-programmed remotely (he lives in Finland) to extend ApprovalTests per his ‘asks’. Why Use Reporters? The three reasons for using different types of reporters are as below. png, *.html, DevelopMentor Courses - Saturday, December 31, 2011 What’s new in ApprovalTests.Net v.20? Unfortunately, when using this method it’s a bit tricky to use a file launcher, since the web server dies BEFORE the browser can hit it. ASP routing support As community contributor, Krzysztof Ko?mic mic said in his NDC talk … Using ApprovalTests makes what was implicit , explicit so that the item can now be tested Inspired by his talk, Jim Counts and I created a new method in AspApprovals to make the formerly implicit ASP routing explicit and now easily able to be tested. This can be particularly troublesome when changing an existing, unfamiliar piece of code. Happy testing. DevelopMentor Courses - Thursday, August 9, 2012 Hello JRack JRack is an extremely simple yet extremely useful and powerful way to create web apps. Simple To Create Let's look at how simple it is to create a "Hello World" web page. What if we actually want to have this running on a Web Server, what would we have to do? Jetty is a simple, standalone Web Servlet container. Today Woody Zuill and myself put some of the finishing touches on a port of Rack to Java, and published it to the world. So let's do a quick show-and-tell to show you why we are so excited. Just 1 line to pass back the html we want displayed. Nice and simple. Llewellyn Falco's Approval Tests - Saturday, September 12, 2009 | - Testing Asp.Net pages
Note : If you want to test something that isn’t the “end result” of a web page, simply pull that logic into a separate classmethoddll and test it normally. TestMethod) Architecture : The Normal architecture when testing web pages is as follows The strategy I've developed is very simular to this, but allows for better "test functionality" by adding a test method IN the aspx page, and then allowing a secret handshake, or backdoor to the aspx page to run that scenario. Here is the strategy I’ve been using for unit testing Asp.Net pages. Approvals.ApproveAspPage(new AspxClass ().TestMethod) DevelopMentor Courses - Sunday, July 3, 2011 - Approving the Weather
This is possible thru a web API that will give us the weather report. This test will pass without actually running the query against the web service. How can I test the weather? We have a project where we need to know the weather report. However, we have no control over either the API or the weather. So how do we test this? The traditional approach is to encapsulate all calls to the weather API and then mock it out. The unfortunate part is this doesn't actually test the weather at all. Let's take a look at a new way to actually test the Weather API using approvals. new approach. - Approval Tests (a pictures worth a 1000 tests) [repost]
How does it work for a web app? Scenario 3 [The lock down] Core Concept : Say I have a web page that displays a user profile. Scenario 1 [Testing a User Interface] Core Concept : Component gui = createGui(); Approvals.approve(gui); This creates a snap shot of the gui: gui.received.png This passes if gui.received.png == gui.approved.png If you like the result, simply rename gui.received.png -> gui.approved.png and the test will pass. Could you explain that in a diagram? Why is this awesome? a picture is worth a 1000 tests”. Have you started making lots & lots of asserts? %>
398 Articles match "Web"
See all articles with
"Web"
| The Latest from DevelopMentor | MORE | | Reblogged: What should I learn to get started in.NET and web development? The question they had was: What should I learn to get started in.NET and web development? Now this question was starting from a position of “I’d like to get started with.NET and the web. To go from “ zero to web dev in.NET” I think you should start on these topics, in an iterative fashion: Fundamentals of C# (skip the advanced stuff – async, yield return, etc for now). '[ Note : I am reblogging this post which originally was posted to the LearningLine blog. Hope you all find it useful here as well]. How do I do that?” jQuery basics. Michael C. Kennedy's Weblog - Monday, May 6, 2013 Agile Clinic: Dear Allan, we have a little problem with Agile. The sender has graciously agreed to let me share the mail and my advice with you, all anonymously of course… The sender is new to the team, new to the company, they are developing a custom web app for a client, i.e. they are an ESP or consultancy. 'Consider this blog an Agile Clinic. On Friday an e-mail dropped into my mailbox asking if I could help. the Developers work in sprints, estimating tasks in JIRA as they go. Sprints last three weeks, including planning, development and testing. have been tasked to produce burndowns to keep track of how the Dev cells are doing.” Perhaps both. Allan Kelly's Blog - Sunday, April 28, 2013 A Roundup of MongoDB Management Tools Now there is one less worry in managing your web-scale data. Installs into your web app (provided you’re using Ruby or PHP). My take : This is a very interesting web monitoring app. Designed with security and ease of use, MMS collects statistics on all key server and hardware indicators and then presents the data in a powerful web console. 'I’ve been working with MongoDB for a long time now. Back in the early days, there really were no management tools analogous to RDBMS tools (e.g. SQL Server Management Studio ). The news is good. link]. Admin GUI). Michael C. Kennedy's Weblog - Monday, April 22, 2013 | -
| The Best from DevelopMentor | MORE | - Improve perceived performance of ASP.NET MVC websites with asynchronous partial views
Now, you web app is mostly fast and responsive, but there are certain types of data that just bring the whole thing to a grind. Filed under: Articles Tagged: NET , Articles , ASP.NET , jQuery , MVC , web. Articles.NET ASP.NET jQuery MVC webImagine you’re building an ASP.NET MVC website which has some performance problems. m sure this would never actually happen to you, but imagine you’re facing this problem just for the sake of exploring the possibilities. :-). First a disclaimer / warning. m going to show you how to make your site feel faster without speeding it up. Michael C. Kennedy's Weblog - Tuesday, November 13, 2012 - Understanding Text Encoding in ASP.NET MVC (ASP.NET MVC Foundations Series)
For example, if you were writing a forum web app, you should absolutely be paranoid about what your users are typing into your site. Filed under: Articles Tagged: NET , Foundations , MVC , web. Articles.NET Foundations MVC webThis article covers the various ways in which you might handle text encoding in ASP.NET MVC. You need to be very careful about how you redisplay their input. For example, a friendly forum user might write something like: Nice post, thanks for sharing! On the other hand, they may write: <script src=”[link]. CMS app with rich text editing. Michael C. Kennedy's Weblog - Monday, October 15, 2012 - Download My Web Apps Have HotKeys Too Sample App
I recently blogged about how web apps have hotkeys too. To encourage more developers to add hotkeys to their web applications, I created a jQuery plugin called jQuery.hotKeyMap.js It’s an ASP.NET MVC 3 web app. Filed under: jQuery Tagged: NET , ASP.NET , MVC , Open Source , Plugins , web. jQuery.NET ASP.NET MVC Open Source Plugins weband a sample application. just added a download link for the source code: WebAppsHaveHotKeysTooSample-MichaelKennedy-v1.zip. Hope you find it useful! Cheers, @mkennedy. Michael C. Kennedy's Weblog - Thursday, August 30, 2012 - How Are You Scaling ASP.NET?
Cheers, @mkennedy Filed … Continue reading → Polls.NET ASP.NET MVC polls webThere are some interesting debates out there around scaling ASP.NET. How do you do it? Please fill out this poll and tell the world: Interested in a blog post on this? Take it to the comments section. - Slides and demos from DevWeek 2013
18 Ways Your Brand-New MVC Web Application Can Be Better. Filed under: Speaking Tagged: NET , ASP.NET , Cloud , Conferences , DevelopMentor , jQuery , LearningLine , Speaking , tips , web. Speaking.NET ASP.NET Cloud Conferences DevelopMentor jQuery LearningLine tips webI had a great time discussing these topics with everyone at DevWeek 2013. Thanks to all who attended my sessions. Here are the slides: Getting Serious About The Cloud For Developers. Building Rich Forms in ASP.NET MVC. Applied NoSQL in.NET. Watch this space for the demo code as well. Cheers, @mkennedy. %>
| | |