Automate User Interface tests in Visual Studio 
2008-04-14, 00:14 - Programming, Agile
Ok. So I too have tried to automate some nice user interface tests for the programs I developed. Doing this I got frustrated that there was no tool that worked the way I wanted. I just wanted to be able to:
- Record tests
- Get recorded tests in c# code
- Debug and edit the tests inside Visual Studio
- Have tests where the UI mapping code was seperated from the test logic.
- Extend the test framework where it didn't fulfill my needs.

Well this is why I got involved in the development of the Test Automation FX framework which addresses these problems (and solves them!)

The beta is out there and it´s getting quite nice. Go to the website and try it out.

Have fun and happy testing!
3 comments ( 68 views )   |  0 trackbacks   |  permalink   |   ( 3 / 3754 )

Ignore this! 
2007-05-04, 20:17 - Programming
Ok, you have to ignore this. But I was missing my ignore settings for TortoiseSVN the other day. I thought I would post them here for me and everybody else to use.

Just add the pattern below in the General page of the Settings dialog for TortoiseSVN and you will stop TortoiseSVN from adding those unwanted files to your repositories.

*.a37 *.aps *.APS *.bak *.bkp *.cache *.chm *.clw *.dbg *.dll *.dsw *.DSW *.exe *.exp *.FileList.txt *.gid *.hlp *.idb *.ilk *.inx *.lib *.log *.lst *.map *.ncb *.obj *.obs *.old *.opt *.OPT *.pch *.pdb *.plg *.PLG *.r37 *.res *.sbr *.scc *.suo *.tlb *.trg *.user *.vcl *.vcb *.vco *.vcc *.vspscc *.WW *.xcl *._ip *_i.c *_i.c *_p.c *.tmp *.rpt *.000 *.001 *.002 CmdSwitch.cmd dlldata.c log maxlog name DRIVER*.mak DRIVER*.bin torom.bat DRIVER*.txt lnk.txt Debug Debug_NET DebugU Release Release_NET ReleaseMinDependency ReleaseMinSize ReleaseUMinDependency ReleaseUMinSize Out DRIVER DRIVER_? Thumbs.db obj bin _UpgradeReport_Files TestResult.xml UpgradeLog.XML UpgradeLog2.XML *Debug_Shared *Release_Shared release debug Release_Static
4 comments ( 81 views )   |  0 trackbacks   |  permalink   |   ( 2.8 / 562 )

Agile to Death 
2006-12-11, 21:38 - Programming, Agile
I've spent years on the barricades for the Agile methologies. Even before I knew what Agile was...

I've done my job struggling against formal and stiff development methods that believed more in the process itself than in the people doing the actual work. In the last two or three years this struggle has been a whole lot easier with the broad (somewhat...) acceptance of agile methods.

I now work as a Agile Project Leader trying to keep the agile spirit alive in the teams I coach. I think I'm doing a petty good job ::). But I can get better.. (and that's what agility is about a lot...improving yourself and others to get the job done).

Some personal principles I think I like:
- Keep it simple (small smart simple units make a working complex system. A system that is only complex NEVER works).
- Use your skills and adopt new ones. There's no excuse... agile is about people triggered by the wish to be better and to do great stuff.
- Be balanced. All principles should be considered with their pros and cons. YAGNI for instance is great to consider if you often over design stuff. But don't use it as an excuse for doing rigid non-generic implementations of problems we know will evolve. Be critical and try not to adopt to many ideas blindly...I guess this is experience talking :;)
- TDD and unit tests are great to have...sometimes. But don't bend yourself backward to test everything. And for the love of God keep the tests simple if anything.
- Think WE (or Win-Win). Try to fix everything yourself and you will probably fail (or at least get exhausted succeeding :;) ). It is hard work being a good team player. In agile development it is the team's responsibility to fix everything, even the process. Try to get along with people and incourage them to grow along with you. Communicate!! Think Win-Win. There are solutions we all can benifit from...find them. Empower the mind as well!!

Well, just wanted to throw something up!! Guess I'll be blogging more about agile than WPF in the future :;)

BTW, if you live in the south of Sweden or Denmark and have an interest in Agile methologies be sure to check out Agile Řresund. It is a newly started user group for people interested and maybe experienced in agile methods, practices and technologies.

"Thanks for listening, I feel much better now..."

2 comments ( 83 views )   |  0 trackbacks   |  permalink   |   ( 2.9 / 1408 )

2006-09-24, 22:41 - Programming

Just wanted to mention that I since a couple of weeks is a member of the CodeStyleEnforcer team. You can read more about CodeStyleEnforcer on the blog of its creator Joel Fjordén.

The CodeStyleEnforcer is a truly amazing plug-in to Visual Studio that checks your coding style as you type along providing visual feedback of your code style violations. Not only naming conventions are checked but also some other rules (for instance visibility conventions etc).

In the upcoming release support has been added to quickly correct code style violations automatically. Be sure to check it out!

3 comments ( 83 views )   |  0 trackbacks   |  permalink   |   ( 2.9 / 1462 )

Speakers corner 
2006-09-08, 23:10 - Personal, Programming

Just wanted to share the news that I will be speaking at Öredev together with my collegue Henrik Strömberg. We have had a lot of experience of advanced design-time programming in .NET and was asked to share our findings with the programming community.

Be sure to attend the conference and our slot.
1 comment ( 54 views )   |  0 trackbacks   |  permalink   |   ( 2.9 / 1494 )