Automated Unit Test Package For Tcl Procedures March 25, 2017

Slides:



Advertisements
Similar presentations
Using T4Eclipse tool to Analyze Eclipse UI For t4eclipse version Ben Xu July 17,2010.
Advertisements

Introduction to Eclipse cs112b1 – Lab01 by Rui Shi.
August 2012 This work is licensed under the Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Java Development Tools project.
Eclipse Introduction Dwight Deugo Nesa Matic
Eclipse Begin at the Beginning. Where to Find it:
Views Dwight Deugo Nesa Matic
1 Plug-in Development Environment (PDE) Guide. 2 Introduction to PDE l What is PDE: »a tool designed to help you develop platform plug-ins while working.
15-Jul-15 Starting Eclipse Just the basics. Getting Eclipse If you Google for “Eclipse”: The first hit is the home page, The second.
Enhancing Developer Productivity using Eclipse Presented by: Tom Sausner.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
Introduction to Eclipse. Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and.
9000U Quick Guide Marketing & RMA Department XELTEK 8/28/2015.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
Author: Loh Jianxiong Christopher Editors: Chua Jie Sheng, Li Mengran, Peh Shao Hong, Oo Theong Siang.
LLRP GUI Client User Guide
T-unit: Tcl Unit Test Package Automated Unit Test Package For Tcl Procedures Final Presentation Joseph Boyle Loyola Marymount University.
© 2005 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. Data Structures for Java William H. Ford William R. Topp Appendix E The EZJava.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
How to Run a Java Program CSE 1310 – Introduction to Computers and Programming Vassilis Athitsos University of Texas at Arlington 1.
Prachi Chitnis.  The CSS feel  SDS – Synoptic Display Studio  ADL Converter  PV table, Probe…
Introduction to Eclipse. What is Eclipse? An Integrated Development Environment Provides many features to ease C++ programming (and others, e.g. C/Java)
Welcome To Eclipse. Basic Concepts Workspace – directory where your projects are stored –Projects grouping of related works –Resources generic term to.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Eclipse 3.1 IDE Overview.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Installing Repast in the Eclipse IDE Charlie Gieseler 6/28/04.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
How to Download and Install the Naper eReader and eBook Naper Publishing Group.
How to Install Eclipse Click hereClick here to download Eclipse.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
T-unit: Tcl Unit Test Package Automated Unit Test Package For Tcl Procedures Final Presentation Joseph Boyle Loyola Marymount University.
Loader Tutorial Set Up. Requirements Java 7 Eclipse IvyIDE plugin Git Optional: Ant Maven.
How to Execute first program in Borland C++. Install Borland C++ Download Borland C++ from LMS – rland%20C++%20V3.1.ziphttp://vulms.vu.edu.pk/Courses/CS609/Downloads/Bo.
Chapter 3 Servlet Basics. Contents A.Installing Eclipse WTP and configuring Tomcat B.Prime Number Problem C.Multiplication Table Problem.
An EPICS IDE Using Eclipse Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 15, 2006 Argonne National Laboratory, Argonne, IL.
Time to apply stuff… Faculty of Mathematics and Physics Charles University in Prague 5 th October 2015 Workshop 1 – Java Wrestling.
Software Design– Unit Testing SIMPLE PRIMER ON Junit Junit is a free simple library that is added to Eclipse to all automated unit tests. The first step,
Today Javadoc. Packages and static import. Viewing API source code. Upcoming Topics: –protected access modifier –Using the debugger in Eclipse –JUnit testing.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
Java IDE Dwight Deugo Nesa Matic
CS 201 Lecture 1 (b) Using an IDE Tarik Booker CS 201: Introduction to Programming California State University, Los Angeles.
PyDev: Python plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
ML-Dev: SML Plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
Clojure.  Follow instructions on lynda.com  Can install all this in other ways, but this is the easiest way to get a development environment working.
Author: Loh Jianxiong Christopher Contributions: Chua Jie Sheng, Li Mengran, Peh Shao Hong, Oo Theong Siang, Tong Chun Kit, Tania Chattopadhyay.
Appendix A Barb Ericson Georgia Institute of Technology May 2006
1. Open Visual Studio 2008.
Download and Installation of code::blocks
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
Macrosystems EDDIE: Getting Started + Troubleshooting Tips
Review of Previous Lesson
Java Code Review with CheckStyle
Workshop for Programming And Systems Management Teachers
Presentation transcript:

Automated Unit Test Package For Tcl Procedures March 25, 2017 TUnit Demonstration Automated Unit Test Package For Tcl Procedures March 25, 2017

Requirements Java runtime level of at least 1.4 tclsh Eclipse IDE http://java.sun.com/j2se/1.5.0/download.jsp Eclipse IDE http://www.eclipse.org/downloads/ tclsh http://www.activestate.com/Products/ActiveTcl/ Make sure to add bin directory to the path

Installation Extract the zipped file to the eclipse home directory Usually C:\Program Files\eclipse

Verifying Installation If eclipse is being started for the first time, a welcome screen will appear. If an error occurs, this is usually a result of the Java runtime engine not being installed properly.

Verifying Installation Continued From the Window menu, set the TUnit Preferences. This means the installation was a success.

TUnit Perspective A perspective determines the visible actions and views within a window. The TUnit perspective has 4 views: Navigator, Namespace Explorer, Tasks, and Console. The TUnit perspective can be opened from the upper right corner, the window menu, or by creating a new Tcl Project.

New Tcl Project Create a new Tcl Project and choose the Project name and location

Tcl Project Continued The Tcl Project creates the init.tcl and global.tcl files as well as the t-unit package.

Namespace Explorer Namespace Explorer looks at the tclIndex file and generates the procedure names associated with each package. Double clicking on the procedure name will open the file where the procedure is defined.

Editor The Tcl Editor has the following features: syntax highlighting, auto indentation, and content assistance. If other plugins are installed, *.tcl files may not use the TUnit editor. Update the file associations preferences to use the TUnit editor.

TUnit Menu Within the TUnit perspective, you allowed to create a new Tcl Package and a new Tcl File.

Tcl Package Create a new package within a project. The package will include the necessary file for package and namespace declaration and init.tcl will automatically be updated.

Tcl File The Tcl File wizard only requires the file name as input. But Procedure Parameters, Version, and Author name are also allowed and will be automatically put into the comments within the file.

Sample Testing Script t-unit::assertEquals 12.34 12.34 | PASS | OK t-unit::assertEquals "hello“ "hello” | PASS | OK t-unit::assertEquals "hello“ "world“ | FAIL | NOT_EQUAL t-unit::assertEquals 2 2 | PASS | OK t-unit::assertEquals 2 3 | FAIL | NOT_EQUAL t-unit::assertEquals 12345 12345 | PASS | OK t-unit::assertEquals 12345 12345.0 | FAIL | ARG_MISMATCH t-unit::assertEquals TRUE TRUE | PASS | OK t-unit::assertNotEquals TRUE FALSE | PASS | OK t-unit::assertNotEquals “hello” “world” | PASS | OK t-unit::assertEqualsList {1 2 3} {1 2 3} | PASS | OK t-unit::assertEqualsArray A1 A2 | PASS | OK

Using the Test Harness # Put this file at the project level. # Can also run more than one set of # unit tests, i.e. make a call to # t-unit::testHarness more than once. # Below is a sample file; init.tcl is # required. source init.tcl t-unit::testHarness t-unit/t-unittestcases.test

Execute TUnit Script Right click on the TUnit Script to execute and run it.

Results of a TUnit Run Once the TUnit script finishes executing, a popup window will appear with the results of the test. In addition, the console window displays the test results.

Known Issues This plugin has not been tested on Unix or Mac systems. Please report any errors that are seen and they will be fixed accordingly.