Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7743

Re: Unit testing using imported data

From Oliver Ruebenkoenig <ruebenko@wolfram.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Unit testing using imported data
Date 2012-01-11 11:01 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jejq71$cte$1@smc.vnet.net> (permalink)
References <201201110922.EAA11403@smc.vnet.net>

Show all headers | View raw



On Wed, 11 Jan 2012, David wrote:

> On Jan 10, 5:00 am, David <dbco...@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

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Unit testing using imported data Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2012-01-11 11:01 +0000

csiph-web