2 Jul 2008 15:17
Re: Re: TDD with WIndowsCE
Andrew Badera <andrew <at> badera.us>
2008-07-02 13:17:32 GMT
2008-07-02 13:17:32 GMT
You can't write code the compiles on the desktop that also compiles on the device. The Compact Framework is a fairly narrow subset of the full framework. That gets better with every version, but there continue to be a number of features not available, or that function significantly differently, have different signatures, etc. etc. etc. that compiling for the desktop means porting the app. On Wed, Jul 2, 2008 at 9:06 AM, Anthony Williams <anthony_w.geo <at> yahoo.com> wrote: > "Andrew Badera" <andrew <at> badera.us <andrew%40badera.us>> writes: > > > Ahhhh but then you're not really testing CE code if you build it on the > > desktop ... .NET's Compact Framework != the desktop framework, and > testing > > the desktop version will not give you reliable results for the CE > version. > > That's true, but it's a good place to start. If you ensure your code > compiles for CE as well, you won't accidentally use a feature only > in the desktop version. Of course, things might behave subtly > differently, but that's less likely. If you *also* run your tests on > the target hardware or emulator (using NUnitLite, for example), then > you'll get the best of both worlds: fast TDD on the desktop, with > WinCE tests to ensure you still have the desired functionality on the > target. I've had good success doing this. > > > I think even C++ suffers from the same issue here. > > Certainly the Win32 desktop API has more functions than the Windows CE > API, but that's not a particular problem: any attempt to compile for > Windows CE will catch usage of missing functions. > > Anthony > -- > Anthony Williams | Just Software Solutions Ltd > Custom Software Development | http://www.justsoftwaresolutions.co.uk > Registered in England, Company Number 5478976. > Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL > > > [Non-text portions of this message have been removed] ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/testdrivendevelopment/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/testdrivendevelopment/join (Yahoo! ID required) <*> To change settings via email: mailto:testdrivendevelopment-digest <at> yahoogroups.com mailto:testdrivendevelopment-fullfeatured <at> yahoogroups.com <*> To unsubscribe from this group, send an email to: testdrivendevelopment-unsubscribe <at> yahoogroups.com <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
RSS Feed