MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Unit testing using imported data

  • To: mathgroup at smc.vnet.net
  • Subject: [mg124166] Re: Unit testing using imported data
  • From: Oliver Ruebenkoenig <ruebenko at wolfram.com>
  • Date: Wed, 11 Jan 2012 06:01:04 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201201110922.EAA11403@smc.vnet.net>


On Wed, 11 Jan 2012, David wrote:

> On Jan 10, 5:00 am, David <dbco... at gmail.com> wrote:
>> I want to setup a unit test for functions I have made. The functions
>> perform computation on imported data. The data are HDF files. How can 
I setup the unit test so that the data gets imported for use in a unit 
test? The imported data is the input for the function.
>
> I should add that I want to use the built in .mt file in Wolfram
> Workbench. The Mathematica front end is not used. The help content in
> Workbench doesn't have any information on importing when using the .mt
> test files.
>
>

I am not sure I understand your question, why do you not use Import[] in 
the unit test?

Oliver



  • Prev by Date: Re: select 1st column element based on criteria in 2nd column in mathematica
  • Next by Date: Re: select 1st column element based on criteria in 2nd column in mathematica
  • Previous by thread: Re: Unit testing using imported data
  • Next by thread: Re: Unit testing using imported data