Why Write Unit Tests?
Why Write Unit Tests?I've made a small video to go with this postApproval Tests have allowed us to focus on the parts of testing at a much higher level of abstraction. Things that had been too hard to...
View ArticleHello JRack
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.JRack is an...
View ArticleAssertNotNull
Recently had some issues with the method assertNotNull(object) because it doesn't help with any of the 4 principles of TDD.SpecificationsFeedbackRegressionGranularity I vloged my thoughts here....
View ArticleJava Lambdas
I mentioned last month that I had found a way to add lambdas to the current JDK. I struck me that perhaps many of you had not used lambdas before, so I thought I make a small tutorial on one of the...
View ArticleComplete Unit Testing
Today I had a conversation with @WoodZuill where an extremely rare situation came up. A situation where you can practice TDD with Completeness of the possible user scenarios. I vBlogged my thoughts...
View ArticleLambdas v.008, usable Now! Forward compatible with Java 1.7
I released Java Lambdas v.008 which allows for forward compatibility with the new Lambda implementation coming down the pike for Java 7 The idea is this. Create methods that receive a Function[0-9] or...
View ArticleIllusions of Grandeur and Agreement
I just finished watching Adam Savage presenting at maker faire. It’s a pretty great talk. Kinda. Here’s what I’m taking away:“Set deadlines for personal projects”But about 22 minutes in I become...
View ArticleTesting Asp.Net pages
Update - Arlo Belshee pointed out this applies better to "older" style asp programming. If your pages don't resemble this pattern, please check out his response [Video at bottom of page] Here is the...
View ArticleTesting Rdlc Reports
[Download ApprovalTests]Edit [4/25/2012] There is now a video on testing Rdlc Reports as well Rdlc reports are a very common thing with many .Net projects. They are a convenient way to both show data,...
View ArticleUsing Reporters in Approval Tests
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...
View ArticleCreating Namers
If your current testing framework is not supported, you can create your own namer to allow you to use it.Check out this namer for ideas how to make your own.
View ArticleTesting Difficult Code
I recently did 3 videos in my ‘Using ApprovalTests in .Net’ series that deal with how to test difficult code. These video actually have very little to do with either .Net or ApprovalTests, but they are...
View ArticleWhat’s New in ApprovalTests .Net v.18?
FrontLoadedReporterIEnviromentAwareReport UpgradesCodeCompareReporterDictionarySupportEF and Mvc3 additionsBug FixesFrontLoadedReporter Attribute (For Build Systems)You can now add the following code...
View ArticleWhat’s new in ApprovalTests.Net v.19?
This is a relatively small release, only 2 real changes.EmailApprovalsBetter Rdlc Syntax Email Verification Almost every site sends some sort of email. These have been hard to test, usually requiring...
View ArticleThe Testing Circle
This is the pattern I find myself in day after day while practicing TDD or BDD. Step 1? Usually I start at the whiteboard. It is the easiest place to start as I sketch out the scenario I want to...
View ArticleTesting Views in Asp.Mvc
For many years, the views (the html returned from an rendered MVC controller) were an extremely difficult thing to test. Like many unreachable things, they were declared “not worth it” and ignored....
View ArticleWhat’s new in Java ApprovalTests v.011
Today I Released ApprovalTests for Java v.011. Here's what new: Approvals.Approve() => Approvals.Verify() I finally got around to fixing an early mistake in my naming convention....
View ArticleTooling stack of testing Asp.MVC Views
“Craftsmen know their tools” At last weeks Jim Counts did a session on Testing MVC Views with ApprovalTests. [ watch the video here ] While I am always happy to see more ApprovalTesting in the world, I...
View ArticleWhat’s new in ApprovalTests.Net v.20?
ASP routing support As community contributor, Krzysztof Koź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...
View ArticleWhat’s New in Java ApprovalTests V 0.12
In this release of ApprovalTests (available here ), we’ve only added one thing, but it’s a big thing. Specifically, it’s a big data thing. My thanks go out to John Heintz for helping me to create this....
View ArticleWhat's new in ApprovalTests.Net v.22 ?
ApprovalTests.Net v.22 is here, you can get it on Nuget Here's what's new: UTF8 Support[Contributors: Scott Reed & Maurice De Beijer] Text Files will now work with UTF with (many/most) Diff Tools....
View ArticleWhat I've learned about open source by pairing with Simon Cropp
Over the last 2 weeks I have be fortunate enough to pair with Simon Cropp for about 8 hours on my open source project ApprovalTests. Simon has taught me a lot about running a better open source...
View ArticleWhat’s new in ApprovalTest.Net v 3.0?
ApprovalTests.Net v 3.0 is here, you can get it on Nuget. Here’s what’s new: Version 3.0 – The final version Versioning with signed packages is always a bit of a pain. It’s made things harder to deal...
View ArticleWhat's new in ApprovalTests.Net v3.6
I finally got a new version released. It's been a lot time in the making and I wanted to highlight some of the new feature. There's a bunch so hold on tight: VerifyNoAbandonedFiles One issue that pops...
View ArticleWhat's new in ApprovalTests.Net v3.7
[Available on Nuget] AsyncApprovals - rules and exceptions[Contributors: James Counts] In the end, all tests become synchronous. This means for a normal test we recommend However, If you are looking to...
View Article
More Pages to Explore .....