Unit testing frameworks?

View: New views
7 Messages — Rating Filter:   Alert me  

Unit testing frameworks?

by Joel Parker-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is anyone doing unit testing on PIC code? What frameworks are out there that are good?

I've seen this one through a quick Google search, but have no experience with it:
http://embunit.sourceforge.net/

--
Joel J. K. Parker
Systems Engineer
Radiance Technologies, Inc.
(256) 655-2463



--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Unit testing frameworks?

by Vitaliy-14 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joel Parker wrote:
> Is anyone doing unit testing on PIC code? What frameworks are out there
> that are good?
>
> I've seen this one through a quick Google search, but have no experience
> with it:
> http://embunit.sourceforge.net/

I am interested in using TDD, but haven't actually done it yet.

There was a thread here a long time ago, "[EE] Test driven design for
embedded applications" where Timothy J. Weber and I talked about one way it
could be done on a PIC.

Vitaliy

--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Finding a rare ic.....

by John Chung :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi guys,

I am trying to repair some very old stuff in my house. One of them
requires this chip

1) LA 9135  9E2

Tried to find this on google but came out empty. Any clue of this ic?
Tried this http://www.alldatasheet.com/, at least 16F877 appears :)

Thanks,
John




     
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Finding a rare ic.....

by Bob Blick-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

John Chung wrote:

> I am trying to repair some very old stuff in my house. One of them
> requires this chip
>
> 1) LA 9135  9E2
>
> Tried to find this on google but came out empty. Any clue of this ic?
> Tried this http://www.alldatasheet.com/, at least 16F877 appears :)
>

matelectronics.com is one of the last places stocking original Japanese
semiconductors but they don't have that one either, they skip from
LA7953 to LA9200.

Cheerful regards,

Bob
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Finding a rare ic.....

by John Chung :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI Bob,

Thanks for the link. It is a good place to start my Jap. search....

Thanks,
John

--- On Sun, 10/25/09, Bob Blick <bobblick@...> wrote:

> From: Bob Blick <bobblick@...>
> Subject: Re: [EE] Finding a rare ic.....
> To: "Microcontroller discussion list - Public." <piclist@...>
> Date: Sunday, October 25, 2009, 9:51 PM
> John Chung wrote:
>
> > I am trying to repair some very old stuff in my house.
> One of them
> > requires this chip
> >
> > 1) LA 9135  9E2
> >
> > Tried to find this on google but came out empty. Any
> clue of this ic?
> > Tried this http://www.alldatasheet.com/, at least
> 16F877 appears :)
> >
>
> matelectronics.com is one of the last places stocking
> original Japanese
> semiconductors but they don't have that one either, they
> skip from
> LA7953 to LA9200.
>
> Cheerful regards,
>
> Bob
> --
> http://www.piclist.com PIC/SX FAQ & list archive
> View/change your membership options at
> http://mailman.mit.edu/mailman/listinfo/piclist
>


     

--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Unit testing frameworks?

by Bob Axtell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Joel Parker wrote:

> Is anyone doing unit testing on PIC code? What frameworks are out there that are good?
>
> I've seen this one through a quick Google search, but have no experience with it:
> http://embunit.sourceforge.net/
>
> --
> Joel J. K. Parker
> Systems Engineer
> Radiance Technologies, Inc.
> (256) 655-2463
>
>
>
>  
I just can't imagine how this works.

--Bob A
--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist

Re: Unit testing frameworks?

by Wouter van Ooijen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> I've seen this one through a quick Google search, but have no experience with it:
>> http://embunit.sourceforge.net/

> I just can't imagine how this works.

At a quick glance it seems to be GCC oriented and not target-specific.
Hence it might be usable to check portable properties of C code, but not
for PIC specific aspects.

I have used such frameworks in the past for Unix work. It would be nice
to have something comparable for PIC work, but there are some problems:
- limited size of PIC memory
- communication of results to the PC
- how to test peripherals-specific code
- how to test interaction with external stuff (including humans)

--

Wouter van Ooijen

-- -------------------------------------------
Van Ooijen Technische Informatica: www.voti.nl
consultancy, development, PICmicro products
docent Hogeschool van Utrecht: www.voti.nl/hvu

--
http://www.piclist.com PIC/SX FAQ & list archive
View/change your membership options at
http://mailman.mit.edu/mailman/listinfo/piclist