Browse by Tags

MbUnit 2.4 RTM is out
Published 05-25-2007 12:18 PM | jokiz
See the official announcement from Andy's blog here . You can download the bits here . Nudge to smash , try it and you'll love it.
Filed under: ,
insufficient test code coverage -> broken build
Published 05-25-2007 10:04 AM | jokiz
i agree that incorporating code coverage criteria in your build scripts is very restrictive, but you have no choice if your team is just starting out doing tdd or writing plain automated unit tests. how can you force them to learn to write automated unit...
Persistence tests
Published 03-15-2007 11:12 AM | jokiz
We have been using NHibernate for most of our apps here in our company and having persistence tests for each business object in your integration test suite in my opinion is definitely a must. My current project which has minimal number of tests, most...
Filed under: ,
TDD-CI environment work - definitely a plus
Published 02-07-2007 5:29 PM | jokiz
We still have a job advertisement for a C# developer and one of the requirements is experience in agile software development using T est- D riven D evelopment and C ontinuous I ntegration setup. You can hardly find a .NET company in the Philippines which...
working around a project with minimal unit tests
Published 01-30-2007 9:40 PM | jokiz
coming from a project with number of unit tests in it (hundreds i believe), it's hard to work around our current project without it. we're near the release of the project and we still have 31 unit and integration test cases for the .NET client application...
Saved by an automated test
Published 12-09-2006 2:44 AM | jokiz
Last week, I was assigned to fix a bug in my first project in my current company. The said application was released months ago and is currently being used by our client. Initially, the fix was just to move a particular line of code just above a conditional...
MbUnit 2.3 is out
Published 12-07-2006 9:31 PM | jokiz
Andew Stopford announced the release of MbUnit 2.3 here , and it's great to see my name as a contributor for the said release. If you haven't tried it's RowTestFixture , you better give it a shot. I haven't really explored more on it's features but I...
Filed under: ,
Singleton usage
Published 11-24-2006 7:52 PM | jokiz
We currently have a Singleton class in our application which in the next phase of development will change to a multi-instance. The problem is every class which makes use of it accesses it directly through the exposed static interface. I believe this is...
Filed under: ,
"Test" word preceding Unit Test Methods
Published 10-11-2006 1:22 PM | jokiz
Previous testing frameworks including NUnit 1.0 by convention demands the Test word as prefix for test method names in order for the test runner to run it. Now that we are using .NET attributes to instruct the runner which test methods to run, i find...
Filed under:
InstallShield 12 uninstall breaks TestDriven.NET
Published 10-02-2006 10:48 PM | jokiz
I have just uninstalled my Evaluation copy of InstallShield 12 which I used to setup our build server. Unluckily, my TestDriven.NET addin suddenly is not behaving properly. My officemate who also had his IS12 copy uninstalled currently have the same problem...
Filed under: , ,
Test-driven programming with a student
Published 09-26-2006 3:12 PM | jokiz
Last weekend, i helped my friend and former student with her sudoku solver project in Java. Basically, her professor gave her a list of methods for the solver class with their expected behavior. I wanted to teach her test-driven programming so i asked...
Filed under: ,
ExpectedException vs Testdriven.Net's easy VS code navigation
Published 09-25-2006 5:22 PM | jokiz
I was using MbUnit in my expression evaluator when i noticed that a failing test with an ExpectedException does not include a link to the line of the failing code. The link is established if you are on a DEBUG build (i encountered not seeing a link since...
Filed under: ,
Using NMock to test interaction of IComparable objects with it's IComparer
Published 09-19-2006 12:25 PM | jokiz
I have a requirement to sort a business object and obviously providing an IComparer for the said business object and implementing IComparable is the way to do it. And because of the dependency of the business object to the IComparer, i thought this could...
Filed under: ,
Encapsulation vs Testability
Published 09-14-2006 7:39 PM | jokiz
Reference articles: Why use private or protected Testability I am fond of Rocky Lhotka 's CSLA framework before and when i shifted to be test-driven, there are some constructs in CSLA that i'm beginning to dislike. I like the broken rule tracking...
Filed under: , ,
MbUnit vs NUnit
Published 09-12-2006 2:44 PM | jokiz
Roy Osherove has illustrated the need to Avoid Multiple Asserts in a test method. Basically i agree with his points in the said blog post. I currently need need to test a number of permutations and i want to be disciplined to avoid multiple assertions...
Filed under: ,
More Posts Next page »