The-Software-Experts




Google
 




   catch your bugs!
  Home
  Newsletter
  Forum
  Shop

  SW-Training
  - Software Design
  - Safe Coding in C
  - Software Inspection
  - Software Testing
  

  SW-Design
  - Architecture
  - Module Design
  

  Coding in C
  - Safe Coding in C
  

  Refactoring
  - Principles
  - Methods
  

  SW-Testing
  - Principles
  - Static Analysis
  - Inspections
  - Module Tests
  - Functional Tests
  - Integration Tests
  - Test Documentation
  - Links
  

  SW-Documentation
  - SGML Principles
  - Printing SGML
  - Links
  

  SW-Processes
  - Process Descriptions
  - Process Assessments
  - Self Evaluation
  - Food for Thought
  - Links
  

Safety Software
Design Training

IEC 61508 compliant
Safety Software
Design for Microcontroller

SW Document
Templates

CMMI and SPICE
compliant document
templates

SW Process
Description

CMMI Level 4 and
SPICE compliant SW
development procedure

SGML Package for
Documentation

Edit and print SGML
Documemts. Professional.
fast, easy to use.

Test Bench
for C/C++

Perl based test
environment for easy
component testing




Password for the Forum

Our forum was frequently misused to dump spam into it. In order to cut this we moved the functions to post new threads or answers to a protected area of our server. In case you want to write something in our forum, please request a login and password via the below form. It is free and simple. The login and password will be immediately mailed to you.

E-Mail    

       Send me a login and password for the forum


Security Image

Write access to the Forum

Access the forum here to post new messages

Forum

Thread "Uploading on Microsoft Visual studio" Started by Softomania on: 09/13/2008 8:56pm
Current page: 1 of 1 Go to page: 1
Uploading on Microsoft Visual studio
Posted by: Softomania on: 09/13/2008 8:56pm
Hello friends,
I am new to Microsoft Visual studio and am attempting to upload an attachment (ideally an .xls) but not restricted to that file type.
I want to upload the file to drive the test using 'Data driven tests' where the code calls the datasheet to parameterise the tests.
Any help would be much appreciated.
Thanks,
Nicolas
Re: Uploading on Microsoft Visual studio
Posted by: joe on: 05/22/2008 8:11pm
Hi
if you want to do testing in Visual Studio you should first of all get CPPUnit: http://sourceforge.net/projects/cppunit
I use data driven tests since years. It's simple. Once you have set up the CPPUnit test environment just set up a module which reads csv files converts the strings into integers or floats and feed in the test data. To use xls is not recommended. You would need to struggle with the format. It is easy to save any xls as csv file and use this one instead.
Joe
Current page: 1 of 1 Go to page: 1
Forum powered by FreeForum





Imprint