On the website FreeTechBooks.com there are a lot of free books that cover themes like programming in various languages, software engineering, operating systemes, webdesign, algorithms, cryptography and artificial intelligence but also mathematics, electric circuits and singal processing.
Archiv der Kategorie: English
WordPress aktualisiert / Worpress updated
Heute habe ich endlich WordPress auf Version 2.0.4 aktualisiert.
Today i’ve updated WordPress to the Version 2.0.4.
WordPress aktualisiert / Worpress updated
Nachdem ich meine WordPress-Installation in letzter Zeit etwas vernachlässigt hatte (Version 1.5.1.3) habe ich WordPress auf die Version 2.0.2 aktualisiert.
After neglecting my WordPress-Installation lately (Version 1.5.1.3) I’ve upgraded WordPress to the Version 2.0.2.
NCover: Attribute-Based Type Exclusion, but the wrong way round…
With Version 1.5.2, NCover introduced a Attribute-Based Type Exclusion. It works, but not as I expected.
I normally use NCover together with my test code. When I have a class to test that throws an exception the test function is not covered completely.
The function BarTest() is only covered to 67% as the end of the function is not executed because the Exception was thrown. I was waiting for the possibility to define that a function does not need to be covered with adding an attribute to the Function. But when I add an Attribute to the function and define this Attribute to be excluded (with //ea AttributeName), the Function is not covered.
So instead of having a higher code coverage I have a lower code coverage. Not the result I was expecting from this feature.
But maybe this will change in the future. I keep watching…
Jay Fields Thoughts: Creating an interface for testing
The article from Jay Fields about creating an interface for testing should be read by each developer that uses unit tests (and that should be every developer!) I had several discussions about my ‚Interface-flooded‘ code, and this article is a good explanation for my behaviour.
Mocks Aren’t Stubs or State-Based vs Ineraction-Based Tests
While looking for a definition for Stubs and Mocks I stumbled over an article from Martin Fowler that makes a comparing between State-Based and Interaction-Based testing. Never thougt about my tests in this way, worth reading it.
German or English / Deutsch oder Englisch ?
For English text read second paragraph
Nachdem ich nun schon ein paar Blog-Einträge geschrieben habe stellt sich mir die Frage, ob ich weiterhin auf Deutsch oder neu auf Englisch schreiben soll. Ich wollte eigentlich auf Deutsch schreiben, da es schon viele Blogs im Softwareentwicklungs-Bereich gibt, die auf Englisch verfasst sind. Da ich aber auch in englischen Foren schreibe und dort manchmal auf mein Blog verweise bietet es sich an, die Einträge auf Englisch zu schreiben. Schlussentlich habe ich mich entschieden, mein Blog zweisprachig zu führen. Das heisst, ich werde meine Einträge je nach Thema auf Deutsch und/oder Englisch schreiben (nicht alle Einträge werden in beiden Sprachen erscheinen!) Dafür habe ich auch die Kategorien Deutsch und English erstellt.
Having written some entries in my blog I was thinking about keep writing in german or change to english. I started with german because on the internet there are several blogs about software development that are written in english. But as I write also in english message boards and there put a link to my Blog it would be better to write my Blog in english. Finally I decided to have my Blog bilingual. That means that I will write my entries in german and/or english, depending on the subject (not all entries will be released in both languages!) For this I have created the Categories Deutsch and English.