Friday, April 14, 2017

Difference between TDD, BDD and ATDD


TDD

Test driven development is a particular approach to writing code where the tests are written at the same time as the code and involves constant refactoring. Because of its association with XP, TDD is historically associated with the unit test level. However, it is possible to apply it at other levels of testing (such as functional E2E level testing).

TDD tools are traditionally unit testing and mocking tools such as
​​
JUnit and
​​
JMock.

BDD

Behaviour Driven Development can be seen as an extension of TDD. The key enhancement with BDD is the introduction of a domain specific language that is very accesible to business users. BDD will typically be more at the functional test level as that is natural outcome of working with a business focused language.

The most commonly used BDD tool by far is Cucumber.

ATDD

With acceptance test driven development the focus is verifying work is done by passing acceptance tests. As it is dealing with acceptance tests it will usually be at the functional test level. ATDD is close in concept to BDD, but with a stronger focus on the testing aspect as validation. It would be perfectly possible to do BDD in a way that was compliant with ATDD or to do ATDD in a way that was compliant with BDD.

ATDD tools would include Cucumber and Fitnesse.

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they mi
​​
ght find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.

Sunday, February 26, 2017

Configuring ASP.NET Core Applications in Azure App Service


The .NET Core framework has a nice robust configuration framework. You will normally see the following (or something akin to it) in the constructor of the Startup.cs file: This version gets its settings from JSON files and then overrides these settings with things from environment variables. It seems ideal for Azure App Service because all

✔ Read More...

I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

C#,.NET,Architect,Intermediate,VS2010,.Net,Articles,Computer Tutorials
​,ASP.Net Core, Azure App Service​

Tuesday, February 21, 2017

Setting up Hangfire in an ASP.NET Web API Application


If you want to run some background tasks inside your ASP.NET Web API application, I strongly suggest you have a look at Hangfire. You don't need a separate Windows Service or anything, you can just spawn the task within the Web API. Having said that, Hangfire gives you extended functionality to run your background task as a Console Application or as a Windows Service. For the persistence storage for the tasks, Hangfire uses SQL Server, MySQL, Redis etc.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

.Net, ASP.Net, WebAPIs, Hangfire, Scheduling Tasks

Friday, February 3, 2017

HOW TO KEEP YOUR STYLE CODE CLEAN IN SWIFT


You've just finished your new app, and you go to show it off to a friend, and they say "Those red buttons look kind of harsh. What if you changed them all to be blue instead?" Your heart sinks, especially if you're using xibs or storyboards. It's going to take a while to go through them all and update the colors.

It's even harder if you're working with a designer since they have a real stake in wanting the app to look perfect. They will want to tweak the colors, fonts and overall look of the app until it looks just how they envisioned it. Neither of you can afford to have it take 30 minutes of coding between every small tweak that needs to be made. You need a way to update the style of the app quickly, easily and completely. You don't want to have one accidentally red button in an app full of blue ones. Like the rest of your code, you want the look and feel of the app to be something that can be controlled all from one place, where you can update it once and have it work everywhere.

This is something that comes up in almost every project I've worked on. As a project grows bigger, it becomes more and more necessary, but the styling code can also grow bigger until the whole thing is a nasty mess. So what can we do?


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too. 

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

iPad,iPhone,iPhone Resources,iPhone Articles,iPhone Development,iPhone Turorial,Mobile Development Tutorials,Mobile Developments,Objective C
​,Swift,Code Style

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails