Archiv der Kategorie: English

Article in english

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.
Code Coverage without excluded Attribute
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.
Code Coverage with excluded Attribute
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…

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.