Category Archives: Test Driven Development

Dependency Injection and Unit Testing

The bbv Blog post EJB, Dependency Injection and Unit Testing demonstrates a way to simplify testing of EJB classes that contain injected collaborators and/or other EJB resources. At the time of writing, the described approach based on reflection API was … Continue reading

Posted in Java, Test Driven Development, Testing | Tagged , , | Leave a comment

TDD in Embedded Software? – Und es geht doch!

Artikel von Silvan Wegmann; im Tagungsband des Embedded Software Engineering Kongresses (vom 1. – 5.12.2014 in Sindelfingen) publiziert. Test Driven Development (TDD) ist eine Entwicklungsmethode, die durch den Test-First-Ansatz von Anfang an eine hohe Testabdeckung des entstehenden Codes sicherstellen soll. … Continue reading

Posted in Artikel, Embedded, Test Driven Development | Tagged | Leave a comment

What you don’t see is what you don’t get

Or: Why missing visibility is hazardous to your tests Some weeks ago, I was talking to a colleague about the merits of test driven development and its challenges in an embedded environment, such as limited memory resources and hardware dependencies. … Continue reading

Posted in C++, Embedded, Test Driven Development | Tagged , , | Leave a comment

Reducing build process time by using multicore platforms in TFS 2012

This post shows how in a real life project, build process time was heavily reduced not only by reorganizing tests but mainly by optimizing the team foundation server (TFS) build template for multicore platforms. Continuous Integration (CI) is a development … Continue reading

Posted in .NET, ALM, Team Foundation Server, Test Driven Development, Testing, Visual Studio | 5 Comments

Testautomatisierung

Artikel von Friedrich Hagedorn in der Zeitschrift Computerworld Nr. 19 vom 8. November 2013:   «Testautomatisierung» als pdf lesen Viele Argumente sprechen für die Automatisierung von Software-Tests. Die grosse Auswahl an möglichen Tools sollte die Entscheidung eigentlich leicht machen. Trotzdem … Continue reading

Posted in Test Driven Development, Testing | Leave a comment

Migration from Moq to FakeItEasy with Resharper Search Patterns

This is a cross-post from planetgeek.ch In most of the projects in our company we used the mocking framework Moq. Nowadays we are moving away from Moq to FakeItEasy because FakeItEasy is just faking amazing! Seriously, FakeItEasy provides us a … Continue reading

Posted in .NET, Test Driven Development | Tagged , , , | Leave a comment

TeamCity: Improve Build Times with Compressed Artifacts

This is a cross-post from http://blogs.jetbrains.com/teamcity/2013/06/04/improve-build-times-with-compressed-artifacts/ Do you work with build chains and artifact dependencies? Do you wonder why it takes so much more build time when your artifacts get bigger and bigger? You probably have the same potential for improvement … Continue reading

Posted in Agile, ALM, Test Driven Development | Tagged , , , | Leave a comment

Legacy Code and Now What?

Every day is a ground hog day. It is eight o’clock in the morning. You come into the office, look at the Scrum board of your current project and pick the next task of the user story with the highest … Continue reading

Posted in Agile, Clean Code, Presentation, Speeches, Test Driven Development | Tagged , , | Leave a comment

Interview zur BASTA! Spring 2013

In Vorbereitung auf die anstehende BASTA! Spring 2013 hat Judith Lungstraß, Redakteurin bei dotnet.de, ein Interview mit mir geführt (http://it-republik.de/dotnet/artikel/TypeScript-koennte-der-naechste-JavaScript-Standard-sein-5722.html). Hier die Abschrift: “TypeScript könnte der nächste JavaScript-Standard sein”   Mit Windows 8 hat JavaScript Einzug in die .NET-Welt gehalten. … Continue reading

Posted in .NET, Clean Code, Speeches, Test Driven Development, UI, Windows | Leave a comment

How to find misplaced or misnamed unit tests with NDepend

In my current project, we do a lot of refactoring to keep the source code as simple and understandable as possible. This involves a lot of renaming of classes and moving classes between namespaces to structure the code in a … Continue reading

Posted in .NET, Clean Code, Test Driven Development | Tagged , , | 1 Comment